<!DOCTYPE html>
<!-- saved from url=(0060)https://www.educba.com/function-pointer-in-c/?source=leftnav -->
<html lang="en-US" id="top"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta name="viewport" content="width=device-width, initial-scale=1">

<!-- Social Warfare v4.2.1 https://warfareplugins.com - BEGINNING OF OUTPUT -->
<style>
	@font-face {
		font-family: "sw-icon-font";
		src:url("https://www.educba.com/academy/wp-content/plugins/social-warfare/assets/fonts/sw-icon-font.eot?ver=4.2.1");
		src:url("https://www.educba.com/academy/wp-content/plugins/social-warfare/assets/fonts/sw-icon-font.eot?ver=4.2.1#iefix") format("embedded-opentype"),
		url("https://www.educba.com/academy/wp-content/plugins/social-warfare/assets/fonts/sw-icon-font.woff?ver=4.2.1") format("woff"),
		url("https://www.educba.com/academy/wp-content/plugins/social-warfare/assets/fonts/sw-icon-font.ttf?ver=4.2.1") format("truetype"),
		url("https://www.educba.com/academy/wp-content/plugins/social-warfare/assets/fonts/sw-icon-font.svg?ver=4.2.1#1445203416") format("svg");
		font-weight: normal;
		font-style: normal;
		font-display:block;
	}
</style>
<!-- Social Warfare v4.2.1 https://warfareplugins.com - END OF OUTPUT -->


	<!-- This site is optimized with the Yoast SEO plugin v15.4 - https://yoast.com/wordpress/plugins/seo/ -->
	<title>Function Pointer in C | Working of Function Pointer in C with Examples</title>
	<meta name="description" content="Guide to Function Pointer in C. Here we discuss two syntaxes, the working of Function Pointer in C programming language with examples.">
	<meta name="robots" content="index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1">
	<link rel="canonical" href="https://www.educba.com/function-pointer-in-c/">
	<meta property="og:locale" content="en_US">
	<meta property="og:type" content="article">
	<meta property="og:title" content="Function Pointer in C | Working of Function Pointer in C with Examples">
	<meta property="og:description" content="Guide to Function Pointer in C. Here we discuss two syntaxes, the working of Function Pointer in C programming language with examples.">
	<meta property="og:url" content="https://www.educba.com/function-pointer-in-c/">
	<meta property="og:site_name" content="EDUCBA">
	<meta property="article:publisher" content="https://www.facebook.com/CorporateBridgeGroup">
	<meta property="article:published_time" content="2020-04-07T06:30:25+00:00">
	<meta property="article:modified_time" content="2021-03-04T05:12:33+00:00">
	<meta property="og:image" content="https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C.jpg">
	<meta property="og:image:width" content="900">
	<meta property="og:image:height" content="500">
	<meta name="twitter:card" content="summary">
	<meta name="twitter:creator" content="@PedamkarPriya?s=08">
	<meta name="twitter:site" content="@corporatebridge">
	<meta name="twitter:label1" content="Written by">
	<meta name="twitter:data1" content="Priya Pedamkar">
	<meta name="twitter:label2" content="Est. reading time">
	<meta name="twitter:data2" content="4 minutes">
	<script type="text/javascript" async="" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/f.txt"></script><script type="text/javascript" async="" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/analytics.js"></script><script async="" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/gtm.js"></script><script async="" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/ga.js"></script><script type="application/ld+json" class="yoast-schema-graph">{"@context":"https://schema.org","@graph":[{"@type":["Organization","Place","EducationalOrganization"],"@id":"https://www.educba.com/#organization","name":"EDUCBA","url":"https://www.educba.com/","sameAs":["https://www.facebook.com/CorporateBridgeGroup","https://www.linkedin.com/company/946029","https://myspace.com/corporatebridge","https://www.youtube.com/user/corporatebridge","https://www.pinterest.com/educorp/","https://twitter.com/corporatebridge"],"logo":{"@type":"ImageObject","@id":"https://www.educba.com/#logo","inLanguage":"en-US","url":"https://www.educba.com/academy/wp-content/uploads/2020/07/educba_logo_150x150.png","width":150,"height":150,"caption":"EDUCBA"},"image":{"@id":"https://www.educba.com/#logo"},"location":{"@id":"https://www.educba.com/function-pointer-in-c/#local-place"},"address":{"@id":"https://www.educba.com/function-pointer-in-c/#local-place-address"},"email":"info@educba.com","telephone":"+918800880140"},{"@type":"WebSite","@id":"https://www.educba.com/#website","url":"https://www.educba.com/","name":"EDUCBA","description":"","publisher":{"@id":"https://www.educba.com/#organization"},"potentialAction":[{"@type":"SearchAction","target":"https://www.educba.com/?s={search_term_string}","query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"ImageObject","@id":"https://www.educba.com/function-pointer-in-c/#primaryimage","inLanguage":"en-US","url":"https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C.jpg","width":900,"height":500,"caption":"Function Pointer in C"},{"@type":"WebPage","@id":"https://www.educba.com/function-pointer-in-c/#webpage","url":"https://www.educba.com/function-pointer-in-c/","name":"Function Pointer in C | Working of Function Pointer in C with Examples","isPartOf":{"@id":"https://www.educba.com/#website"},"primaryImageOfPage":{"@id":"https://www.educba.com/function-pointer-in-c/#primaryimage"},"datePublished":"2020-04-07T06:30:25+00:00","dateModified":"2021-03-04T05:12:33+00:00","description":"Guide to Function Pointer in C. Here we discuss two syntaxes, the working of Function Pointer in C programming language with examples.","breadcrumb":{"@id":"https://www.educba.com/function-pointer-in-c/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https://www.educba.com/function-pointer-in-c/"]}]},{"@type":"BreadcrumbList","@id":"https://www.educba.com/function-pointer-in-c/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"item":{"@type":"WebPage","@id":"https://www.educba.com/","url":"https://www.educba.com/","name":"Home"}},{"@type":"ListItem","position":2,"item":{"@type":"WebPage","@id":"https://www.educba.com/software-development/","url":"https://www.educba.com/software-development/","name":"Software Development"}},{"@type":"ListItem","position":3,"item":{"@type":"WebPage","@id":"https://www.educba.com/software-development/software-development-tutorials/","url":"https://www.educba.com/software-development/software-development-tutorials/","name":"Software Development Tutorials"}},{"@type":"ListItem","position":4,"item":{"@type":"WebPage","@id":"https://www.educba.com/software-development/software-development-tutorials/c-tutorial/","url":"https://www.educba.com/software-development/software-development-tutorials/c-tutorial/","name":"C Programming Tutorial"}},{"@type":"ListItem","position":5,"item":{"@type":"WebPage","@id":"https://www.educba.com/function-pointer-in-c/","url":"https://www.educba.com/function-pointer-in-c/","name":"Function Pointer in C"}}]},{"@type":"Article","@id":"https://www.educba.com/function-pointer-in-c/#article","isPartOf":{"@id":"https://www.educba.com/function-pointer-in-c/#webpage"},"author":{"@id":"https://www.educba.com/#/schema/person/b32ef4502ee472e66fefcb6259167bf0"},"headline":"Function Pointer in C","datePublished":"2020-04-07T06:30:25+00:00","dateModified":"2021-03-04T05:12:33+00:00","mainEntityOfPage":{"@id":"https://www.educba.com/function-pointer-in-c/#webpage"},"publisher":{"@id":"https://www.educba.com/#organization"},"image":{"@id":"https://www.educba.com/function-pointer-in-c/#primaryimage"},"articleSection":"C Programming Tutorial,Software Development,Software Development Tutorials","inLanguage":"en-US"},{"@type":"Person","@id":"https://www.educba.com/#/schema/person/b32ef4502ee472e66fefcb6259167bf0","name":"Priya Pedamkar","image":{"@type":"ImageObject","@id":"https://www.educba.com/#personlogo","inLanguage":"en-US","url":"https://www.educba.com/academy/wp-content/uploads/2021/02/Priya-Pedamkar-150x150.png","caption":"Priya Pedamkar"},"description":"Work Experience \u2022 A well-qualified Software &amp; Database Engineer\u2022 Skilled trainer in application development &amp; SQL database\u2022 ELeading content writer at EDUCBA\u2022 Over 12+ years of experience in IT training As an IT professional, Priya has always tried to bridge the gap between the learner and current market needs. Along these lines, she has imparted her knowledge to many students over the year while working with some of the leading learning institutes like NIIT, Aptech, and IIHT. Additionally, Priya has also developed many software solutions which are currently being used by her clients. Some of these solutions include - Inventory Management, Payroll Management, Complete School Management and Quarterly Magazine Management. Currently, Priya is one of the leading technical content writers at EDUCBA. Education \u2022 Bachelor of Commerce from M.L. Dahanukar College, Mumbai. \u2022 Microsoft Certified Professional -MCP 2.0 \u2013 Certified Professional \u2022 Microsoft Certified Technology Specialist \u2013 MCTS - .Net Framework 2.0, Web Applications Hobbies Priya loves to cook, write and travel to new places.","sameAs":["https://www.linkedin.com/in/priya-pedamkar-91419676","https://twitter.com/PedamkarPriya?s=08"]},{"@type":"Place","@id":"https://www.educba.com/function-pointer-in-c/#local-place","address":{"@type":"PostalAddress","@id":"https://www.educba.com/function-pointer-in-c/#local-place-address","streetAddress":"A - 406, Boomerang Building Chandivali Powai","addressLocality":"Mumbai","postalCode":"400072","addressRegion":"Maharashtra","addressCountry":"IN"},"geo":{"@type":"GeoCoordinates","latitude":"19.114165","longitude":"72.893039"},"openingHoursSpecification":[{"@type":"OpeningHoursSpecification","dayOfWeek":["Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],"opens":"09:00","closes":"19:00"},{"@type":"OpeningHoursSpecification","dayOfWeek":["Sunday"],"opens":"00:00","closes":"00:00"}],"telephone":"+918800880140"}]}</script>
	<meta name="geo.placename" content="Mumbai">
	<meta name="geo.position" content="19.114165;72.893039">
	<meta name="geo.region" content="India">
	<!-- / Yoast SEO plugin. -->


<link href="https://fonts.gstatic.com/" crossorigin="" rel="preconnect">
<link rel="stylesheet" id="line-awesome-css" href="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/line-awesome.min.css" type="text/css" media="all">
<link rel="stylesheet" id="megamenu-css" href="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/style.css" type="text/css" media="all">
<link rel="stylesheet" id="social_warfare-css" href="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/style.min.css" type="text/css" media="all">
<link rel="stylesheet" id="popup-maker-site-css" href="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/pum-site-styles.css" type="text/css" media="all">
<link rel="stylesheet" id="google-fonts-css" href="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/swp_font.min.css" type="text/css" media="all">
<link rel="stylesheet" id="business-pro-theme-css" href="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/style(1).css" type="text/css" media="all">
<style id="business-pro-theme-inline-css" type="text/css">
button.accent,.button.accent,button.accent:hover,.button.accent:hover,button.accent:focus,.button.accent:focus,.menu-item.button>a>span,.archive-pagination a:hover,.archive-pagination a:focus,.archive-pagination .active a,.pricing-table .featured .button,.pricing-table .featured button,.archive-pagination a:hover,.archive-pagination .active a,.front-page-3 .widget_custom_html:first-of-type hr,.front-page-5 .widget_custom_html:first-of-type hr{background-color:#ea4b32}.front-page-2 .fa{color:#ea4b32}.page-header:before,.front-page-4:before,.before-footer:before{background-color:rgba(27,20,23,0.87)}.wp-custom-logo .title-area{max-width:155px}
</style>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/jquery.js"></script>
<link rel="https://api.w.org/" href="https://www.educba.com/wp-json/">
<link rel="EditURI" type="application/rsd+xml" title="RSD" href="https://www.educba.com/academy/xmlrpc.php?rsd">
<link rel="wlwmanifest" type="application/wlwmanifest+xml" href="https://www.educba.com/academy/wp-includes/wlwmanifest.xml"> 
<meta name="generator" content="WordPress 5.4.10">
<link rel="shortlink" href="https://www.educba.com/?p=328817">

<link rel="preload" as="font" href="https://cdn.educba.com/academy/wp-content/plugins/icon-widget/assets/fonts/line-awesome.woff2" crossorigin="">
<link rel="preload" as="font" href="https://cdn.educba.com/academy/wp-content/themes/business-pro-theme/assets/fonts/JTURjIg1_i6t8kCHKm45_bZF3gnD_g.woff2" crossorigin="">
<link rel="preload" as="font" href="https://cdn.educba.com/academy/wp-content/themes/business-pro-theme/assets/fonts/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2" crossorigin="">
<link rel="preload" as="font" href="https://cdn.educba.com/academy/wp-content/themes/business-pro-theme/assets/fonts/pe03MImSLYBIv1o4X1M8cc8GBs5tU1E.woff2" crossorigin="">
<link rel="preload" as="font" href="https://cdn.educba.com/academy/wp-content/themes/business-pro-theme/assets/fonts/pe0qMImSLYBIv1o4X1M8cce9I9s.woff2" crossorigin="">
<link rel="preload" as="font" href="https://cdn.educba.com/academy/wp-content/themes/business-pro-theme/assets/fonts/5aU69_a8oxmIdGl4BA.woff2" crossorigin="">
<link rel="preload" as="font" href="https://cdn.educba.com/academy/wp-content/themes/business-pro-theme/assets/fonts/5aU69_a8oxmIdGd4BCOz.woff2" crossorigin="">
<link rel="preload" as="font" href="https://cdn.educba.com/academy/wp-content/plugins/social-warfare/assets/fonts/sw-icon-font.woff" crossorigin="">
<!-- GetResponse Analytics -->
<script type="text/javascript">
(function(i, s, o, g, r, a, m){
i['__GetResponseAnalyticsObject'] = r;i[r] = i[r] || function() {(i[r].q = i[r].q || []).push(arguments)};
a = s.createElement(o);m = s.getElementsByTagName(o)[0];a.async = 1;a.src = g;m.parentNode.insertBefore(a, m);
})(window, document, 'script', 'https://mailing.educba.com/script/ga.js?v=2&grid=uBFkHXypY', 'GrTracking');

// Creates a default GetResponse Tracker with automatic cookie domain configuration.
GrTracking('setDomain', 'auto');

// Sends a pageview hit from the tracker just created.
// allways load current window.location.href - usefull for single page applications
GrTracking('push');
</script>
<!-- End GetResponse Analytics -->
<style type="text/css">html{background-color:rgba(27,20,23,.87);}#popmake-378149 a{color:#fff;}li#mega-menu-item-137987 a.mega-menu-link,li#mega-menu-item-138113 a.mega-menu-link,li#mega-menu-item-138221 a.mega-menu-link,li#mega-menu-item-138228 a.mega-menu-link,li#mega-menu-item-138242 a.mega-menu-link,li#mega-menu-item-138292 a.mega-menu-link,li#mega-menu-item-138378 a.mega-menu-link,li#mega-menu-item-138454 a.mega-menu-link,li#mega-menu-item-370765 a.mega-menu-link{color:#fff!important}.has-fixed-header .site-header.shrink .menu-toggle span::before, .has-fixed-header .site-header.shrink .menu-toggle span::after{background-color:#000;}.has-fixed-header .site-header.shrink .menu-toggle span{background-color:#000;}.has-fixed-header .site-header.shrink .nav-primary{background-color: #fff;}@media (max-device-width:520px) and (min-device-width:320px){.nav-primary{background-color:rgba(27, 20, 23, 0.98)}.menu-toggle.activated span{background:0 0!important}}.site-footer .back-to-top:hover{background-color:#222}.site-footer .back-to-top{background-color:#797979;}.site-footer .back-to-top:after,.site-footer .back-to-top:before{background-color:#fff}@media (min-width:896px){.footer-widgets{padding:6rem 0}}.site-footer{background-color:#fff;border-top:1px solid #ccc;}.site-footer a{color:#333;}.site-footer p{color:#111}.footer-widgets .widget-title{color:#222;}.has-fixed-header .site-header.shrink li.mega-menu-item-137987 a.mega-menu-link,.has-fixed-header .site-header.shrink li.mega-menu-item-138113 a.mega-menu-link,.has-fixed-header .site-header.shrink li.mega-menu-item-370765 a.mega-menu-link,.has-fixed-header .site-header.shrink li.mega-menu-item-138221 a.mega-menu-link,.has-fixed-header .site-header.shrink li.mega-menu-item-138228 a.mega-menu-link,.has-fixed-header .site-header.shrink li.mega-menu-item-138242 a.mega-menu-link,.has-fixed-header .site-header.shrink li.mega-menu-item-138292 a.mega-menu-link,.has-fixed-header .site-header.shrink li.mega-menu-item-138378 a.mega-menu-link,.has-fixed-header .site-header.shrink li.mega-menu-item-138454 a.mega-menu-link,.button.accent{background-image:linear-gradient(to top,#e93f33,#ea4b32,#eb5632,#ec6032,#ec6a33)!important}.has-fixed-header .site-header.shrink{background-color:#fff!important}.has-fixed-header .site-header.shrink .mega-menu .mega-menu-item a.mega-menu-link:not(.all-in-one-menu-button){color:#000!important}.has-fixed-header .site-header.shrink .mega-search.mega-search-open input[type=text]{border:1px solid #ccc!important}.page-header:before,.front-page-5 .listing-item:before{background-color:rgba(27,20,23,.87)}.js.has-sticky-header .site-header.shrink{border-bottom:thin solid #d5d5d5;box-shadow:0 0 4rem rgba(42,49,57,.23)}.entry-content pre{font-size: 1.2em !important; line-height: 2;} .formu.fa-long-arrow-right{top:-1em;position:relative;left:5px;font-size:14px;margin: -7px;} .formu.fa-angle-up{top:-1em;position:relative;left:.89em;font-size:13px}@media (max-device-width:520px) and (min-device-width:320px){#wordpress-content table tbody,.entry-content table tbody,.entry-content table thead{display:block}#wordpress-content table,.entry-content table{table-layout:fixed;border:0}}table{border:2px solid #d2d2d2}tbody{border-bottom:2px solid #d2d2d2}td,th{text-align:left;padding:.618em;border-top:2px solid #d2d2d2;border-right:2px solid #d2d2d2}.entry-content li,.entry-content p{color:#232c39}.vba{background:#d9d9d9;border:2px solid #4d4d4d;padding:1em;font-size:.9em}.vba p{margin-bottom:.2em}.examplex{margin-bottom:2em}.vba{margin-bottom:2em}.overline{text-decoration:overline}.formulax{background-color:#fef5c4;border:1px solid #fadf98;border-left:6px solid #ffeb3b;clear:both;margin-bottom:18px;overflow:hidden;padding:13px;box-shadow:0 0 10px rgba(0,0,0,.1)}.examplex{border:1px solid #afcde3;border-left:6px solid #4caf50;padding:22px 20px 12px 24px}.casez{border:1px solid #afcde3;border-left:6px solid #33d6ff;padding:22px 20px 12px 24px}.tipx{background:#d9d9d9;font-size:16px;border-radius:7px;max-width:600px;position:relative;margin:30px auto 30px auto;padding:22px 20px 29px 24px}.tipx:before{content:'';background:#ffba16 url('https://cdn.educba.com/img/lamp-icon.png') no-repeat center center;width:70px;height:70px;position:absolute;top:50%;margin-top:-35px;left:-35px;border:5px solid #fff;border-radius:50%}.conclusionx{border:1px solid #ffdb4d;border-left:6px solid #fc0;padding:22px 20px 12px 24px}span.fa.fa-search.search-icon{left:0;font-size:17px;font-weight:700;-webkit-transform:scale(-1,1);-ms-transform:scale(-1,1);transform:scale(-1,1)}form.mega-search.mega-search-open input[type=text]{padding:0 5px 0 35px!important;font-size:14px;font-family: Montserrat;}.shrt_keys_class{display:inline-block;padding:5px 10px;color:#3d98e3!important;text-align:left;padding-top:5px!important;border:3px solid #232c39;border-radius:0 15px 0 15px;border-left-width:10px}</style>
<style type="text/css">h3{position:relative;padding:0 0 0 20px}h3:after{position:absolute;content:"";left:0;top:0;bottom:0;width:5px;border-radius:2px;box-shadow:inset 0 1px 1px rgba(0,0,0,.5),0 1px 1px rgba(255,255,255,.3);background:#eb5632;background-image:linear-gradient(to top,#ec6a33 0,#e93f33 100%);background-image:linear-gradient(to top,#e93f33,#ea4b32,#eb5632,#ec6032,#ec6a33)}.img-inline{display:inline !important;} .matrix-table {width:fit-content; border:0 !important;}.matrix-table tbody,.matrix-table tbody td{border:0 !important;vertical-align: middle; vertical-align: middle; padding: 3px 12px; text-align: center;}.entry-content h2{color:#000;text-transform:none;border-bottom:4px solid #000;margin-bottom:20px;padding-bottom:5px}.entry-content h4{color:#1375b0}.hh-m-0{margin:0;width:auto;float:left}.hh-block .hh-left span{font-size:36px;padding:25px 35px;background-image:linear-gradient(to top,#429ce9 0,#1375b0 100%);color:#fff;float:left;line-height:0;font-weight:600;clip-path:polygon(0 -1%,100% -1%,calc(100% - 35px) 100%,0 100%)}.h-h-title.hhright.hh-next{margin-bottom:50px;background:0 0;color:#fff;display:block;float:left;margin:0 0 10px 0;padding:0;width:80%;text-align:right}.h-h-title.hhright.hh-next h3{padding:3px 10px 7px 0!important;color:#000!important;display:inline-block;float:left;font-size:26px;text-align:left;text-transform:none;font-weight:700;line-height:1.618}@media only screen and (max-width:799px){.hh-m-0{display:none}}.leave_reply{font-size:1.8em;margin:0 0 .5em;font-weight:700;line-height:1.236;display:inline-block}@media (max-device-width:520px) and (min-device-width:320px){.entry-content p,.entry-content li,.entry-content h4,.entry-content h3,.entry-content h2,.entry-content div{-ms-word-break: break-all;word-break: break-all; word-break: break-word;}.entry-content p img{display: initial;}.page-header h1 {word-break: break-all;word-break: break-word;}.h-h-title.hhright.hh-next{width:100%!important;margin:0}.h-h-title.hhright.hh-next h3{font-size:22px}.entry-content h2{font-size:23px!important}}code{color:#000}code .red{color:red}code .blue{color:#3546b7}code .green{color:green}code .maroon{color:maroon}code .orange{color:orange}code{border-left:3px solid #6ce26c!important;padding-left:5px}@media (min-width: 768px){.page-header{padding:16rem 0 7rem}}
</style>
<!-- Google Tag Manager -->
<noscript><iframe src="//www.googletagmanager.com/ns.html?id=GTM-PP63D5"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'//www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-PP63D5');</script>
<!-- End Google Tag Manager --><style type="text/css">.page-header{background-image: url(https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C.jpg);}</style>
<link rel="icon" href="https://www.educba.com/academy/wp-content/uploads/2020/05/cropped-apple-touch-icon-32x32.png" sizes="32x32">
<link rel="icon" href="https://www.educba.com/academy/wp-content/uploads/2020/05/cropped-apple-touch-icon-192x192.png" sizes="192x192">
<link rel="apple-touch-icon" href="https://www.educba.com/academy/wp-content/uploads/2020/05/cropped-apple-touch-icon-180x180.png">
<meta name="msapplication-TileImage" content="https://www.educba.com/academy/wp-content/uploads/2020/05/cropped-apple-touch-icon-270x270.png">
<style type="text/css">/** Mega Menu CSS: fs **/</style>
<script src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/f(1).txt"></script><link rel="prefetch" href="https://www.educba.com/software-development/"></head>
<body class="post-template-default single single-post postid-328817 single-format-standard wp-custom-logo mega-menu-finance mega-menu-data-science mega-menu-software-development mega-menu-design mega-menu-project-management mega-menu-personal-development mega-menu-marketing mega-menu-human-resources mega-menu-primary mega-menu-excel mega-menu-vba custom-header header-image header-full-width sidebar-content genesis-breadcrumbs-visible genesis-footer-widgets-visible has-fixed-header js" style="padding-top: 0px; padding-bottom: 0px;">	<script>
	//<![CDATA[
	(function(){
		var c = document.body.classList;
		c.remove( 'no-js' );
		c.add( 'js' );
	})();
	//]]>
	</script>
	<div class="site-container"><header class="site-header fixed shrink" style="top: unset;"><div class="wrap"><div class="title-area"><a href="https://www.educba.com/software-development/" class="custom-logo-link" rel="home"><img width="798" height="250" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/cropped-website_logo_transparent_background_white.png" class="custom-logo" alt="EDUCBA" srcset="https://cdn.educba.com/images/website_logo_transparent_background.png" sizes="(max-width: 798px) 100vw, 798px"></a><p class="site-title"><a href="https://www.educba.com/">EDUCBA</a></p></div><button class="menu-toggle" aria-expanded="false" aria-pressed="false" role="button" id="genesis-mobile-nav-primary">Menu<span></span></button><nav class="nav-primary genesis-responsive-menu" aria-label="Main" style=""><div class="wrap"><div id="mega-menu-wrap-software_development" class="mega-menu-wrap"><div class="mega-menu-toggle"><div class="mega-toggle-blocks-left"></div><div class="mega-toggle-blocks-center"></div><div class="mega-toggle-blocks-right"><div class="mega-toggle-block mega-menu-toggle-block mega-toggle-block-1" id="mega-toggle-block-1" tabindex="0"><span class="mega-toggle-label" role="button" aria-expanded="false"><span class="mega-toggle-label-closed">MENU</span><span class="mega-toggle-label-open">MENU</span></span></div></div></div><ul id="mega-menu-software_development" class="mega-menu max-mega-menu mega-menu-horizontal" data-event="hover_intent" data-effect="fade_up" data-effect-speed="200" data-effect-mobile="disabled" data-effect-speed-mobile="0" data-panel-width="body" data-mobile-force-width="body" data-second-click="close" data-document-click="collapse" data-vertical-behaviour="standard" data-breakpoint="600" data-unbind="true" data-hover-intent-timeout="300" data-hover-intent-interval="100"><li class="mega-menu-item mega-menu-item-type-custom mega-menu-item-object-custom mega-align-bottom-left mega-menu-flyout mega-has-icon mega-icon-left mega-menu-item-138236" id="mega-menu-item-138236"><div class="mega-search-wrap mega-static"><form class="mega-search mega-search-open" role="search" action="https://www.educba.com/">
						<span class="fa fa-search search-icon"></span>
						<input type="submit" value="Search">
						<input type="text" aria-label="Search for Tutorials / Courses" data-placeholder="Search for Tutorials / Courses" placeholder="Search for Tutorials / Courses" name="s">
						
					</form></div></li><li class="mega-menu-item mega-menu-item-type-custom mega-menu-item-object-custom mega-align-bottom-left mega-menu-flyout mega-menu-item-138214" id="mega-menu-item-138214"><a class="mega-menu-link" href="https://www.educba.com/software-development/software-development-tutorials/?source=menu" tabindex="0">Free Tutorials</a></li><li class="mega-popmake-135330 mega-menu-item mega-menu-item-type-custom mega-menu-item-object-custom mega-align-bottom-left mega-menu-flyout mega-menu-item-138216 popmake-135330 pum-trigger" id="mega-menu-item-138216" style="cursor: pointer;"><a class="mega-menu-link" rel="nofollow" href="https://www.educba.com/function-pointer-in-c/?source=leftnav#" tabindex="0">Free Courses</a></li><li class="mega-menu-item mega-menu-item-type-custom mega-menu-item-object-custom mega-align-bottom-left mega-menu-flyout mega-menu-item-138217" id="mega-menu-item-138217"><a class="mega-menu-link" href="https://www.educba.com/software-development/courses/?source=menu" tabindex="0">Certification Courses</a></li><li class="mega-menu-item mega-menu-item-type-custom mega-menu-item-object-custom mega-align-bottom-left mega-menu-flyout mega-menu-item-138228" id="mega-menu-item-138228"><a class="mega-menu-link" href="https://www.educba.com/software-development/courses/software-development-course/?source=menu" tabindex="0">600+ Courses All in One Bundle</a></li><li class="mega-popmake-138145 mega-menu-item mega-menu-item-type-custom mega-menu-item-object-custom mega-align-bottom-left mega-menu-flyout mega-menu-item-138233 popmake-138145 pum-trigger" id="mega-menu-item-138233" style="cursor: pointer;"><a class="mega-menu-link" rel="nofollow" href="https://www.educba.com/function-pointer-in-c/?source=leftnav#" tabindex="0">Login</a></li></ul></div></div></nav></div></header><div class="site-inner">		<section id="page-header" class="page-header" role="banner"><div class="wrap">
		<h1 class="entry-title" itemprop="name">Function Pointer in C</h1>
<p class="single-title"><span class="mobsite">By <img src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/Priya-Pedamkar-150x150.png" width="50" height="100" alt="Priya Pedamkar" title="Priya Pedamkar" class="avatar avatar-100 wp-user-avatar wp-user-avatar-100 alignnone photo" style="display:inline-block;float:none;margin-bottom:0;margin-right:0.7rem;vertical-align:middle;"><a style="color:#fff" href="https://www.educba.com/author/priya-pedamkar/">Priya Pedamkar</a></span></p>		</div></section>
		<div class="content-sidebar-wrap"><div class="breadcrumb"><span><span><a href="https://www.educba.com/">Home</a> » <span><a href="https://www.educba.com/software-development/">Software Development</a> » <span><a href="https://www.educba.com/software-development/software-development-tutorials/">Software Development Tutorials</a> » <span><a href="https://www.educba.com/software-development/software-development-tutorials/c-tutorial/">C Programming Tutorial</a> » <strong class="breadcrumb_last" aria-current="page">Function Pointer in C</strong></span></span></span></span></span></div><main class="content"><article class="post-328817 post type-post status-publish format-standard has-post-thumbnail category-c-tutorial category-software-development category-software-development-tutorials entry" itemref="page-header"><div class="entry-content"><div style="display:flex;padding:10px 0;margin:10px 0;position:relative;float:right;">
<a href="https://www.educba.com/null-pointer-in-c/" title="Previous" style="float:right;margin-right:20px;border: thin solid #087c99; padding: 5px 20px;text-decoration:none;"><i class="fa fa-arrow-left" style="color: #087c99;font-weight:bold;"></i></a>
<a href="https://www.educba.com/double-pointer-in-c/" title="Next" style="float:right;margin-right:20px;border: thin solid #087c99; padding: 5px 20px;text-decoration:none;"><i class="fa fa-arrow-right" style="color: #087c99;font-weight:bold;"></i></a>
</div><div style="clear:both"></div><p><img class="alignnone size-full wp-image-329448" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/Function-Pointer-in-C.jpg" alt="Function Pointer in C" width="900" height="500" srcset="https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C.jpg 900w, https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C-300x167.jpg 300w, https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C-768x427.jpg 768w" sizes="(max-width: 900px) 100vw, 900px"></p>
<h2>Introduction to Function Pointer in C</h2>
<p>A Function pointer is the most important feature in C which is also known as Subroutine pointer. A pointer that points to any function is called a Function Pointer. It points to a specific part of code when executing difference is that a function pointer to code as compare to a normal point which points to a specific variable in code. The most valuable thing is that we can pass the function parameter as an argument and its name can be used to get the address of the function. FP is like a variable storing the address of the function.</p>
<p><strong>Syntax of Function Pointer</strong></p><div class="code-block code-block-19" style="margin: 8px 0; clear: both;">
<!-- modal popup -->

<style>
.inline-pp-banner {display:block;background:#faffbd;padding:20px 15px;border:1px solid #36a67b;border-radius:3px;}
.inline-fc-mob{cursor:pointer;font-weight:bold}
@media only screen and (min-width: 768px){
.inline-pp-banner{display:none;}
}
</style>
<div class="inline-pp-banner">
<p style="margin-bottom:0px;color:#000"><a class="popmake-173362 inline-fc-mob">Start Your Free Software Development Course</a></p>
<p style="margin-bottom:0;"><small>Web development, programming languages, Software testing &amp; others</small></p>
</div>


</div>

<p><strong>Syntax #1</strong></p>
<p><code>Function_returntype ( *Pointer_name) ( argument_list)</code></p>
<p>First, we have to write the return type of function which can be void, double, etc. Then we have to give a name to our function pointer after that in another bracket we have to list the argument.</p>
<p><strong>Syntax #2</strong></p>
<p><code>void ( *funct_pointer ) ( int );</code></p>
<p>In the above syntax func_pointer is a pointer to a function taking an integer argument that will return void.</p>
<h3>Working of Function Pointer in C</h3>
<p>Let us have a look at the working of Function Pointer in C programming language</p>
<h4>Example #1</h4>
<p>Here is the C code to demonstrate the working of Function Pointer:</p>
<p><strong>Code:</strong></p>
<p><code>#include &lt;stdio.h&gt;<br>
int sum (int var1, int var2)<br>
{<br>
return var1 + var2 ;<br>
}<br>
int main ()<br>
{<br>
int ( *functiontopointer ) (int, int) ;<br>
functiontopointer = sum ; // This part can also be done using void ( *fun_ptr ) ( int ) = &amp;fun ;<br>
//Here we are calling using the function pointer<br>
int Output1 = functiontopointer (20, 98) ;<br>
// Here we are calling function in normal way<br>
int Output2 = sum (20, 98) ;<br>
printf ( " Calling through function pointer: %d " , Output1 ) ;<br>
printf ( " \n Calling through function name: %d " , Output2 ) ;<br>
return 0 ;<br>
}</code></p><div class="code-block code-block-17" style="margin: 8px 0; clear: both;">
<style>.othr-cour a{color:#4a4a4a!important;border-bottom:none}.othr-cour a:hover{border-bottom:1px solid!important}.box-div .fa-book:before{content:"\f14e"}.box-div .fa-book{background-image:linear-gradient(to top,#0ba360 0,#3cba92 100%);padding:15px;border-radius:5px;color:#f0f8ff;font-size:50px}.box-div .fa-flash:before,.fa-bolt:before{content:"\f1fa"}.box-div .box-btn{width:max-content;cursor:pointer;transition:all .2s ease;padding:10px 30px;line-height:1.33;border-radius:4px;color:#fff;background:#ff8c00;border:thin solid #ff8c00;margin-bottom:0;font-weight:700;text-align:center;vertical-align:middle;font-size:15px;display:block;letter-spacing:1px;background-image:linear-gradient(to top,#e93f33,#ea4b32,#eb5632,#ec6032,#ec6a33);}.box-div{border:1px #bfbfbf solid;margin:10px 0 25px 0;padding:24px;width:100%;-webkit-box-shadow:-8px 9px 5px -8px rgba(0,0,0,.75);-moz-box-shadow:-8px 9px 5px -8px rgba(0,0,0,.75);box-shadow:-8px 9px 5px -8px rgba(0,0,0,.75)}.box-div .course-title{font-weight:600;font-size:1em;letter-spacing:1px;display:block}.box-div .fa-star{font-size:15px;color:#f5af12;margin-right:4px}.box-div .price-box{text-align:-webkit-center}@media (min-device-width :320px) and (max-device-width :520px){.box-div .banr-image{display:none}.box-div .price-box{text-align:-webkit-left}}@media (min-device-width :320px) and (max-device-width :767px){.sale-bf{position:absolute;width:80px;margin-top:-5.4em;right:0em}}.box-div .othr-cour{border-radius:4px;border:solid 1px #4a4a4a;margin-right:12px;padding:5px 10px;font-size:14px;font-weight:400;display:inline-block;margin-bottom:5px;cursor:pointer;line-height:1.4}.box-div .rel-cour{font-size:16px;padding-bottom:5px}@media (min-device-width :768px){.centertext{text-align:center}.sale-bf{position:absolute;width:120px;margin-top:-6.1em;right:2.5em}}.blg-price{font-size:1.5em}.blg-str-price strike{font-size:1.2em;color:grey}.box-div hr{margin:0 0 .5em;padding:.5em 0 0}.box-div .course-title{line-height:25px}.box-div .banr-image{text-align:center;margin-top:20px}.box-div .bundle_link{text-decoration:none;color:#000;border:0}.box-div .bullets{font-weight:400;font-size:.8em}#banner_1 .three-sixths{margin-top:15px}#banner_1 .five-sixths{width:100%;margin:0}#banner_1 .course-price{font-size:1em}</style>
<script>jQuery.ajax({ method: "GET", url: "https://www.educba.com/wmj_jx/pr-currency.php?pid="+5451,dataType: "json",	success: function (result) {
	if(result.status == 'Yes'){
	jQuery(".blg-price").html(result.display_price[0]);
	jQuery(".blg-str-price").html("<strike>"+result.display_price[1]+"</strike>"); 
	} 
	} });</script>

<div class="five-sixths box-div" id="banner_1"><div style="font-size: 0.8em;"><i class="fa fa-bolt" aria-hidden="true"></i> Popular Course in this category</div>
<img class="sale-bf" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/Special-Offer_3.png" alt="Sale">
<!--<img class="sale-bf" style="width: 105px;" src="https://www.educba.com/academy/wp-content/uploads/2020/12/Christmas-Sale.png" alt="Sale"/>-->
<a href="https://www.educba.com/software-development/courses/c-programming-course/?btnz=edu-blg-inline-banner1" class="bundle_link" target="_blank"><div class="five-sixths"><div class="one-sixth first banr-image"><i class="fa fa-book" aria-hidden="true"></i></div><div class="three-sixths"><span class="course-title">C Programming Training (3 Courses, 5 Project)</span><span class="bullets">3 Online Courses | 5 Hands-on Projects | 34+ Hours | Verifiable Certificate of Completion | Lifetime Access <br><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i><i class="fa fa-star" aria-hidden="true"></i>4.5 (8,589 ratings)</span></div><div class="two-sixths price-box"><span class="course-price">Course Price</span><br><span class="blg-price">$79</span> <span class="blg-str-price"><strike>$399</strike></span><br><span class="box-btn">View Course</span></div></div></a><hr><div class="rel-cour">Related Courses</div>
<span class="othr-cour"><a href="https://www.educba.com/software-development/courses/c-course/?btnz=edu-blg-inline-banner1" style="text-decoration: none;border:0;">C++ Training (4 Courses, 5 Projects, 4 Quizzes)</a></span><span class="othr-cour"><a href="https://www.educba.com/software-development/courses/java-course/?btnz=edu-blg-inline-banner1" style="text-decoration: none;border:0;">Java Training (40 Courses, 29 Projects, 4 Quizzes)</a></span></div><div style="clear: both;"></div>
</div>

<p><strong>Output:</strong></p>
<p><img class="alignnone size-full wp-image-328986" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/Function-Pointer-in-C-1.png" alt="Function Pointer in C - 1" width="454" height="47" srcset="https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C-1.png 454w, https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C-1-300x31.png 300w" sizes="(max-width: 454px) 100vw, 454px"></p>
<p><strong>Explanation:</strong> In the above code, you can see we have declared a method called Sum to add the two declared variables var1 and var2 and store the output of addition in Sum. In the main class, we have declared a function pointer FTP with an integer argument that returns void. Similarly, for using the function pointer functionality we are taking two inputs from the user. One is for showing the addition using function pointer while the other one is for showing the result using the normal pointer.</p>
<h4>Example #2</h4>
<p>Here is the C code to demonstrate the working of Function Pointer:</p>
<p><strong>Code:</strong></p>
<p><code>#include &lt;stdio.h&gt;<br>
void addition ( int i , int j )<br>
{<br>
printf ( " The addition of both the input is %d \n " , i+j ) ;<br>
}<br>
void substraction ( int i , int j )<br>
{<br>
printf ( " The substraction of both the input is %d\n " , i-j ) ;<br>
}<br>
void multiplication ( int i , int j )<br>
{<br>
printf ( " The multiplication of both the input is %d\n " , i*j ) ;<br>
}<br>
int main()<br>
{<br>
void ( *funcpointer_arr[] )( int , int ) = { addition, substraction, multiplication} ;<br>
int character, i = 8, j = 8 ;<br>
printf ( " Please enter: 0 for Add , 1 for Substract and 2 "<br>
"for Multiply \n " ) ;<br>
scanf ( " %d ", &amp;character ) ;<br>
if ( character &gt; 2 ) return 0 ;<br>
( *funcpointer_arr [ character ] ) ( i , &nbsp;j ) ;<br>
return 0 ;<br>
}</code></p>
<p><strong>Output:</strong></p>
<p><img class="alignnone size-full wp-image-328984" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/Function-Pointer-in-C-2.png" alt="Function Pointer in C - 2" width="600" height="503" srcset="https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C-2.png 600w, https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C-2-300x252.png 300w" sizes="(max-width: 600px) 100vw, 600px"></p>
<p><strong>Explanation: </strong>In the above code, you can see we are applying the same technique of function pointer as we did in the previous code. We have separately created functions for addition, multiplication, and subtraction. We have declared a function pointer named void ( *funcpointer_arr [] )( int, int ) to store the values separately for all the operations with two integer data types a and b. Therefore, based on the choices 0, 1, and 2 we can perform the preferred operation separately.</p>
<h4>Example #3</h4>
<p>Here is another C code to demonstrate the working of Function Pointer:</p>
<p><strong>Code:</strong></p>
<p><code>#include &lt;stdio.h&gt;<br>
#include &lt;stdlib.h&gt;<br>
int comparison ( const void* lhs , const void* rhs )<br>
{<br>
return ( * ( int * ) rhs - * ( int * ) lhs ) ;<br>
}<br>
main()<br>
{<br>
int ( *cmp ) ( const void* , const void* ) ;<br>
cmp = &amp;comparison ;<br>
int array [] = {15,42,93,54,15,66,37,8,81} ;<br>
qsort ( array, sizeof ( array ) / sizeof ( *array ) , sizeof ( *array ) , cmp ) ;<br>
int x = 0 ;<br>
while ( x &lt; sizeof ( array ) / sizeof ( *array ) )<br>
{<br>
printf ( " %d \t " , array [x] ) ;<br>
x++ ;<br>
}<br>
}</code></p>
<p><strong>Output:</strong></p>
<p><img class="alignnone size-full wp-image-328917" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/Function-Pointer-in-C-3.png" alt="Function Pointer in C - 3" width="543" height="37" srcset="https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C-3.png 543w, https://www.educba.com/academy/wp-content/uploads/2020/03/Function-Pointer-in-C-3-300x20.png 300w" sizes="(max-width: 543px) 100vw, 543px"></p>
<p><strong>Explanation: </strong>In the above code, you can see we have declared a function pointer named as the comparison in which we have two arguments of type constant named as LHS and RHS and the function is declared as integer, therefore, it will return this value ( * ( int * ) RHS – *( int * ) LHS ). Then in the main class, we are calling our function parameter and declaring a *camp ( pointer ) to store the address value of the comparison function pointer. We have declared an array of integer data types in which we have defined some random values in a random sequence. Then we are using a quick sort method to sort the array in decreasing order sequence in output. Finally, until the while condition is satisfied it will print the compared value on by one. Once the while condition turns false it will stop and print the final sorted result.</p>
<h3>Conclusion</h3>
<p>Function pointer in C programming language can make code faster, easy, short and efficient without occupying any large space in the code as the function pointer contains the start of the executable code. We can also use a function name to get the address of a function pointer.</p>
<h3>Recommended Articles</h3>
<p>This is a guide to Function Pointer in C. Here we discuss two syntaxes, the working of Function Pointer in C programming language with examples. You can also go through our other related articles to learn more –</p>
<ol>
<li><a href="https://www.educba.com/null-pointer-in-c/">Null pointer in C</a></li>
<li><a href="https://www.educba.com/recursive-function-in-c/">Recursive Function in C</a></li>
<li><a href="https://www.educba.com/void-pointer-in-c/">Void Pointer in C</a></li>
<li><a href="https://www.educba.com/double-pointer-in-c/">Double Pointer in C</a></li>
</ol>

<style>#title-name a,#title-name p{color:#fff; margin: 0;}.container-wp{margin-top:0;width:100%}.container-wp-inner{margin:auto;width:auto;background-image:url(https://cdn.educba.com/img/wsmojo-compressor.jpg);background-size:cover;max-width:100%}.bgouter{background-color:rgba(0,0,0,.5)}.container-wp-inner p{color:#fff;font-size:16px;padding-bottom:2px}.container-wp-inner h2,.container-wp-inner h3,.container-wp-inner h4{font-size:30px;color:#fff;line-height:34px}.container-wp-inner-row{float:left;width:100%;float:left}.container-wp-inner-col{float:left;width:100%}.container-wp-inner-col1{float:left;width:60%}.container-wp-inner-col2{float:left;width:40%}.courselist{height:auto;background:#39524c;border:3px solid #158e5f;text-align:center;margin:15px 0;padding:15px 0}.courselist ul li{text-align:left;color:#fff;justify-content:space-between;min-height:26px;list-style:none;font-size:16px;line-height:35px}#title-name{margin:0 32px}.clearfix{clear:both}.container-wp-inner-col1 ul li{list-style:none;color:#fff;font-size:14px;line-height:24px;margin-left:-36px;margin-bottom:8px}.btnalign{text-align:right}.btn-default{background-color:#0bb71b;padding:13px 20px;font-size:14px;font-weight:700;color:#fff;text-decoration:none;border-radius:4px;border:1px solid transparent}#h1-head{text-transform:uppercase;font-size:24px;font-weight:700;line-height:40px;margin:20px 0 10px 0;color:#fff}@media only screen and (max-width:768px){.container-wp-inner-col1{float:left;width:60%}.container-wp-inner-col2{display:none}@media only screen and (max-width:600px){#h1-head{font-size:20px}.courselist{height:auto;background:#39524c;border:3px solid #158e5f;text-align:center;margin-top:30px;padding:0 0}.container-wp-inner-col1{float:left;width:100%}.container-wp-inner-col2{float:left;width:100%;display:none}}.mast_cour_title{font-size:18px;line-height:35px;padding:5px 0}.exp-topics{margin:15px 25px!important}.learn_more{background-color:#0bb71b!important;padding:10px 20px!important;font-size:16px!important;font-weight:700!important;color:#fff!important;text-decoration:none!important;border-radius:4px!important}}.learn-more{background-color:#0bb71b}.banner-3 .five-sixths{width:100%;margin:0}.banner-3 .fa-check-square-o{font-size:25px}.banner-3 #title-name p{margin-bottom:0!important}.flcb {background: #fddc05; margin-right: 18px;width: fit-content;padding: 7px 5px 6px 5px;color: #000;font-weight: 700;position: relative; display: inline-block;border-left: 5px solid #000; margin-bottom: 0.5em; font-size: 16px;}</style>

			<!-- @@!! 328817 -->	
<div class="container-wp banner-3">
	<div class="container-wp-inner">
		<div class="bgouter">			
			<div class="container-wp-inner-row">
			<a style="color: #ccc;" href="https://www.educba.com/software-development/courses/software-development-course/?btnz=edu-blg-inline-banner3">
			<div class="five-sixths">
										
						<div id="title-name" class="one-half first">
							<p id="h1-head">All in One Software Development Bundle (600+ Courses, 50+ projects)</p>
							<p><i class="fa fa-check-square-o" aria-hidden="true"></i> 600+ Online Courses</p>
							<p><i class="fa fa-check-square-o" aria-hidden="true"></i> 50+ projects</p>
							<p><i class="fa fa-check-square-o" aria-hidden="true"></i> 3000+ Hours</p>
							<p><i class="fa fa-check-square-o" aria-hidden="true"></i> Verifiable Certificates</p>
															<p><i class="fa fa-check-square-o" aria-hidden="true"></i> Lifetime Access</p>
														<p></p>
							<p><span class="button accent learn-more">Learn More</span></p>
						</div>	
								
			</div>
			</a></div>
			<div class="clearfix"></div>
		</div>
	</div>
</div>
												
							
						
		<div class="swp_social_panel swp_horizontal_panel swp_flat_fresh  swp_default_full_color swp_individual_full_color swp_other_full_color scale-100  scale-" data-min-width="1100" data-float-color="#ffffff" data-float="none" data-float-mobile="none" data-transition="slide" data-post-id="328817"><div class="nc_tweetContainer swp_share_button total_shares total_sharesalt"><span class="swp_count ">0 <span class="swp_label">Shares</span></span></div><div class="nc_tweetContainer swp_share_button swp_facebook" data-network="facebook"><a class="nc_tweet swp_share_link" rel="nofollow noreferrer noopener" target="_blank" href="https://www.facebook.com/share.php?u=https%3A%2F%2Fwww.educba.com%2Ffunction-pointer-in-c%2F" data-link="https://www.facebook.com/share.php?u=https%3A%2F%2Fwww.educba.com%2Ffunction-pointer-in-c%2F"><span class="swp_count swp_hide"><span class="iconFiller"><span class="spaceManWilly"><i class="sw swp_facebook_icon"></i><span class="swp_share">Share</span></span></span></span></a></div><div class="nc_tweetContainer swp_share_button swp_twitter" data-network="twitter"><a class="nc_tweet swp_share_link" rel="nofollow noreferrer noopener" target="_blank" href="https://twitter.com/intent/tweet?text=Function+Pointer+in+C&amp;url=https%3A%2F%2Fwww.educba.com%2Ffunction-pointer-in-c%2F" data-link="https://twitter.com/intent/tweet?text=Function+Pointer+in+C&amp;url=https%3A%2F%2Fwww.educba.com%2Ffunction-pointer-in-c%2F"><span class="swp_count swp_hide"><span class="iconFiller"><span class="spaceManWilly"><i class="sw swp_twitter_icon"></i><span class="swp_share">Tweet</span></span></span></span></a></div><div class="nc_tweetContainer swp_share_button swp_linkedin" data-network="linkedin"><a class="nc_tweet swp_share_link" rel="nofollow noreferrer noopener" target="_blank" href="https://www.linkedin.com/cws/share?url=https%3A%2F%2Fwww.educba.com%2Ffunction-pointer-in-c%2F" data-link="https://www.linkedin.com/cws/share?url=https%3A%2F%2Fwww.educba.com%2Ffunction-pointer-in-c%2F"><span class="swp_count swp_hide"><span class="iconFiller"><span class="spaceManWilly"><i class="sw swp_linkedin_icon"></i><span class="swp_share">Share</span></span></span></span></a></div></div><div class="swp-content-locator"></div><!-- AI CONTENT END 1 -->
</div><footer class="entry-footer"></footer></article></main><aside class="sidebar sidebar-primary widget-area" role="complementary" aria-label="Primary Sidebar"><span class="genesis-sidebar-title screen-reader-text">Primary Sidebar</span><section id="text-498" class="widget widget_text"><div class="widget-wrap">			<div class="textwidget"><style type="text/css">table td,th{border-left:2px solid #d2d2d2;vertical-align:text-top}#list2::-webkit-scrollbar,#sticky::-webkit-scrollbar,#ullist::-webkit-scrollbar{width:5px}#list2::-webkit-scrollbar-track,#ullist::-webkit-scrollbar-track{background:#f1f1f1}#list2::-webkit-scrollbar-thumb,#ullist::-webkit-scrollbar-thumb{background:#f1f1f1}#list2::-webkit-scrollbar-thumb:hover,#ullist::-webkit-scrollbar-thumb:hover{background:#888}#list2:hover::-webkit-scrollbar-thumb,#ullist:hover::-webkit-scrollbar-thumb{background:#888}.entry-content pre{background-color:#f6f7f8;display:block;padding:10px 20px;padding:1rem 2rem;border:2px solid #f0f1f2;margin-top:1em;border-radius:4px;border-left:3px solid #6ce26c!important}@media (max-device-width:480px) and (min-device-width:320px){.entry-content code{width:300px;overflow:scroll}.entry-content pre{width:300px;overflow:scroll}.entry-content .wp-video{width:auto!important}}@media (max-device-width:767px) and (min-device-width:481px){.entry-content code{width:470px;overflow:scroll}}@media (max-device-width:890px) and (min-device-width:768px){.entry-content code{width:750px;overflow:scroll}}@media only screen and (min-device-width:891px){.entry-content code{width:auto}}.breadcrumb a{color:#e93f33;text-decoration:underline;font-family:'Nunito Sans',-apple-system,blinkmacsystemfont,'Segoe UI',roboto,helvetica,arial,sans-serif}.entry-content a{color:#e93f33;border-bottom:1px solid;text-decoration:none}.entry-content a:focus,.entry-content a:hover{border-bottom:transparent}@media (min-width:768px){h1{font-size:3em}h2{font-size:2em}h3{font-size:1.8em}h4{font-size:1.5em}h5{font-size:1.4em}h6{font-size:1.3em}}h2{font-size:2em}h3{font-size:1.8em}h4{font-size:1.5em}h5{font-size:1.4em}h6{font-size:1.3em}body>div{font-size:18px;font-size:1.6rem}b,h1,h2,h3,h4,h5,h6,strong{font-family:'Nunito Sans',-apple-system,blinkmacsystemfont,'Segoe UI',roboto,helvetica,arial,sans-serif;font-weight:700!important}@media (min-width:768px){body>div{font-size:1.8rem}}.entry-content ol,.entry-content ul{margin-bottom:1.618em;margin-left:4rem}.entry-content li,.entry-content ol,.entry-content p,.entry-content table,.entry-content ul{color:#4d5968;line-height:2;font-family:'Nunito Sans',-apple-system,blinkmacsystemfont,'Segoe UI',roboto,helvetica,arial,sans-serif}@media (min-width:896px){.content-sidebar-wrap{padding:3rem 0!important}}.leftshift{left:70%!important}.content-sidebar-wrap-bg{background: #0a635fab;}.inline-pp-banner-bg {background: #faffbd82;}.img-op{opacity: 0.5;} .contentinner h4 {font-size: 1em; font-weight:200 !important; line-height:1.3;} .contentinner h4 a{text-decoration:none;font-weight: 600;} .contentinner h4 a:before {content: "\f18e"!important;color: #5d5c5c;font-size: 2.2rem;font-weight: 500;font-family: FontAwesome;margin-right: 0.2em;} .subcat-name{font-size: 1.2em;line-height: 2;color: #d87d07;border-bottom: 1px solid;margin-bottom: 0.5em !important;} </style>
<script type="text/javascript">jQuery(document).ready(function(){ 
//jQuery(".subli").css("display","none");
jQuery(".subli .active_list").parent().css("display","block");
jQuery(".sub").find("#iclass").addClass("fa-caret-right");
jQuery(".sub").find("#ifclass").addClass("fa-folder");
jQuery(".sub").find("#ifclass2").addClass("fa-folder");
jQuery(".subli .active_list").parent().parent().find("#iclass").removeClass("fa-caret-right");
jQuery(".subli .active_list").parent().parent().find("#iclass").addClass("fa-caret-down");
jQuery(".subli .active_list").parent().parent().find("#ifclass").removeClass("fa-folder");
jQuery(".subli .active_list").parent().parent().find("#ifclass").addClass("fa-folder-open");
jQuery('table').wrap("<div style='overflow-x:auto;'></div>");
jQuery('.cal-tbl table').unwrap("<div style='overflow-x:auto;'></div>");
jQuery("#mobilenav").parent("p").css("margin","0");
jQuery("#mobilenav .fa-bars").click(function() {
jQuery('.navbar-tog-open-close').toggleClass("leftshift",7000);
jQuery("#fix-bar").addClass("showfix-bar");
/*jQuery(".content-sidebar-wrap").toggleClass("content-sidebar-wrap-bg");
jQuery(".inline-pp-banner").toggleClass("inline-pp-banner-bg");
jQuery(".entry-content img").toggleClass("img-op");*/
jQuery("#fix-bar").toggle();
jQuery(this).toggleClass('fa fa-close fa fa-bars');
});
jQuery("#mobilenav .fa-close").click(function() {
jQuery('.navbar-tog-open-close').toggleClass("leftshift",7000);
jQuery("#fix-bar").removeClass("showfix-bar");
jQuery("#fix-bar").toggle();
jQuery(this).toggleClass('fa fa-bars fa fa-close');
/*jQuery(".content-sidebar-wrap").toggleClass("content-sidebar-wrap-bg");
jQuery(".inline-pp-banner").toggleClass("inline-pp-banner-bg");
jQuery(".entry-content img").toggleClass("img-op");*/
});	
});
</script>
<style type="text/css">.navbar-tog-open-close{display:none}.widget{padding:0!important}#text-429{display:none}@media only screen and (max-width:800px){.menu-toggle{display:block}}#sticky-title,#sticky-title2{margin:0;font-size:large;font-weight:600;background:#fff;color:#232c39;z-index:1;padding:3% 0}.entry-categories{display:none}.rounded-list a{font-size:1.4rem;position:relative;display:block;padding:.1em .4em .4em 2em;background:#fff;color:#000;text-decoration:none;-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out}.rounded-list .active_list a:before{font-weight:700!important}a.remaining{padding-left:0!important;font-size:1.5rem;line-height:2;font-weight:600;padding:0 .4rem .4rem 2rem}a.remaining:before{content:''!important}.rounded-list ul.subli li a:before{content:"\f1ff";font-size:2.2rem;line-height:2em;font-weight:500}.rounded-list a:before{content:counter(li) '.';counter-increment:li;font-family:FontAwesome;content:"\f1ff";font-size:1.2em;position:absolute;color:#000;left:0;top:65%;margin-top:-1.3em;height:2em;width:1em;line-height:2em;text-align:center;font-weight:700;-webkit-transition:all .3s ease-out;-moz-transition:all .3s ease-out;-ms-transition:all .3s ease-out;-o-transition:all .3s ease-out;transition:all .3s ease-out}#list2 a{color:#333}#list2 a:before{content:"\f18e"!important;color:#5d5c5c;font-size:2.2rem;font-weight:500}ul.rounded-list{margin-left:0;counter-reset:li;line-height:2;list-style-type:none!important;padding:0;margin-bottom:.5em;font-family:'Nunito Sans',-apple-system,blinkmacsystemfont,'Segoe UI',roboto,helvetica,arial,sans-serif}ul.rounded-list li{list-style-type:none!important;line-height:2;width:100%;margin-bottom:0!important;padding-bottom:0!important}ul.rounded-list ul{margin:0}ul.rounded-list ul{counter-reset:li;line-height:2.2;list-style-type:none!important;padding:0}ul.rounded-list ul li{list-style-type:none!important;line-height:2.2;width:100%;margin-bottom:0!important;margin-left:0!important;padding-bottom:0!important}ul.rounded-list li:hover a{color:#e93f33}ul.rounded-list li.sub:hover a{border-left:0;color:#000}ul.rounded-list li.sub .subli li a{font-weight:600}ul.rounded-list li.sub .subli li:hover a{color:#e93f33;text-decoration:underline}ul.rounded-list li.sub .subli .active a{font-weight:700}ul.rounded-list li.sub .subli li.active_list:hover a{color:#000}ul.rounded-list li.sub .subli .active_list a{font-weight:700}ul.rounded-list li.sub{padding:.4em 0 .4em 0;background:#fff;color:#000;border-bottom:thin #e8e8e8 solid;cursor:pointer;text-transform:capitalize}#sticky::-webkit-scrollbar{width:8px;height:1em}#sticky{background:#fff}@media only screen and (max-width:991px) and (min-width:320px){.navbar-tog-open-close>span.icon-bars{color:#fff;display:block;font-size:21px;padding-left:3px}}@media only screen and (max-width:991px) and (min-width:320px){.navbar-toggle{border:0;float:left;padding:18px;margin:0;border-radius:0;background-color:#f3f3f3}.navbar-tog-open-close{background:rgba(240,106,23,.6) none repeat scroll 0 0!important;border-bottom-right-radius:45px!important;border-top-right-radius:45px!important;padding:10px 20px 10px 10px!important;position:fixed!important;left:0;top:200px;z-index:2}.navbar-tog-open-close{display:block}}@media (max-device-width:991px) and (min-device-width:320px){#fix-bar{display:none;overflow:scroll;height:-webkit-fill-available;scroll-behavior:smooth;top:8em;width:70%;-webkit-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);-moz-box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);box-shadow: 2px 2px 5px 0px rgba(0,0,0,0.75);padding: 0em 0 10em 0; background:#fff; border-top: 1em solid #fff; border-bottom: 1em solid #fff;} #sticky-title, #sticky-title2{margin-left:10px} ul.rounded-list{margin-left:5px}.widget{display:block!important}}#fix-bar{z-index:1}.showfix-bar{position:fixed!important;top:100px;width:80%;left:0}.hidefix-bar{display:none!important}.active_list{display:flex}.active_arr:after{content:''}.active_list .active_arr:after{content:"";display:block;width:0;height:0;border-style:solid;border-width:18px 0 18px 10px;border-color:transparent transparent transparent #e93f33;top:45%;margin-top:-1em;position:absolute}.subli a{width:100%}.active_list a{width:95%}.subli .active_arr{width:0%}.active_list .active_arr{width:5%;position:relative}#ifclass{color:#e93f33;font-size:2.6rem;font-weight:600}#ifclass2{color:#e93f33;font-size:2.2rem;font-weight:600;padding:0 2px 0 0}.rounded-list .active_list a:after{content:"\f1d2";left:10px;position:relative;font-family:FontAwesome;font-weight:100;color:#252525;font-size:1.8rem;line-height:1} .rel-courses{background: #fff;}</style>
<button id="mobilenav" type="button" class="navbar-toggle navbar-tog-open-close side-body"><i class="fa fa-bars" aria-hidden="true"></i></button><div id="fix-bar">
<div id="sticky">
<h6 id="sticky-title">C Programming Tutorial </h6>
<ul id="ullist" class="rounded-list">	
</ul>
<ul id="ullist" class="rounded-list">
<li class="sub"><div class="sname" style="color:#e93f33;font-weight:700;"><i id="ifclass" class="fa fa-folder-open"></i> Pointers <i id="iclass" class="fa fa-caret-down" aria-hidden="true" style="float:right; margin-right: 1em; font-size: small; margin-top: 0.8em;cursor: pointer;color: #464646;"></i></div><div style="clear: both;"></div>
<ul class="subli" style="display: block;">
<li class=""><a href="https://www.educba.com/pointers-in-c/?source=leftnav">Pointers in C</a></li>
<li class=""><a href="https://www.educba.com/null-pointer-in-c/?source=leftnav">Null pointer in C</a></li>
<li id="present_active" class="active_list"><a href="https://www.educba.com/function-pointer-in-c/?source=leftnav">Function Pointer in C</a></li>
<li class=""><a href="https://www.educba.com/double-pointer-in-c/?source=leftnav">Double Pointer in C</a></li>
<li class=""><a href="https://www.educba.com/void-pointer-in-c/?source=leftnav">Void Pointer in C</a></li>
<li class=""><a href="https://www.educba.com/const-pointer-in-c/?source=leftnav">Const Pointer in C</a></li>
<li class=""><a href="https://www.educba.com/dangling-pointers-in-c/?source=leftnav">Dangling Pointers in C</a></li>
<li class=""><a href="https://www.educba.com/pointer-arithmetic-in-c/?source=leftnav">Pointer Arithmetic in C</a></li>
</ul>	
</li>
</ul>
	
<ul id="ullist" class="rounded-list">
<li class="sub"><div class="sname" style="color:#e93f33;font-weight:700;"><i id="ifclass" class="fa fa-folder"></i> Basic <i id="iclass" class="fa fa-caret-right" aria-hidden="true" style="float:right; margin-right: 1em; font-size: small; margin-top: 0.8em;cursor: pointer;color: #464646;"></i></div><div style="clear: both;"></div>
<ul class="subli">
<li class=""><a href="https://www.educba.com/introduction-to-c/?source=leftnav">Introduction to C</a></li>
<li class=""><a href="https://www.educba.com/what-is-c/?source=leftnav">What is C</a></li>
<li class=""><a href="https://www.educba.com/career-in-c-programming/?source=leftnav">Career in C Programming</a></li>
<li class=""><a href="https://www.educba.com/advantages-of-c/?source=leftnav">Advantages of C</a></li>
<li class=""><a href="https://www.educba.com/install-c/?source=leftnav">How to Install C</a></li>
<li class=""><a href="https://www.educba.com/best-c-compilers/?source=leftnav">Best C Compilers</a></li>
<li class=""><a href="https://www.educba.com/clock-in-c/?source=leftnav">clock() in C</a></li>
<li class=""><a href="https://www.educba.com/data-types-in-c/?source=leftnav">Data Types in C</a></li>
<li class=""><a href="https://www.educba.com/variables-in-c/?source=leftnav">Variables in C</a></li>
<li class=""><a href="https://www.educba.com/c-keywords/?source=leftnav">C Keywords</a></li>
<li class=""><a href="https://www.educba.com/c-command/?source=leftnav">C Command</a></li>
<li class=""><a href="https://www.educba.com/command-line-arguments-in-c/?source=leftnav">Command Line Arguments in C</a></li>
<li class=""><a href="https://www.educba.com/c-literals/?source=leftnav">C Literals</a></li>
<li class=""><a href="https://www.educba.com/constants-in-c/?source=leftnav">Constants in C</a></li>
<li class=""><a href="https://www.educba.com/format-specifiers-in-c/?source=leftnav">Format Specifiers in C</a></li>
<li class=""><a href="https://www.educba.com/bitwise-operators-in-c/?source=leftnav">Bitwise Operators in C</a></li>
<li class=""><a href="https://www.educba.com/local-variable-in-c/?source=leftnav">Local Variable in C</a></li>
<li class=""><a href="https://www.educba.com/sprintf-in-c/?source=leftnav">sprintf in C</a></li>
<li class=""><a href="https://www.educba.com/unsigned-int-in-c/?source=leftnav">Unsigned Int in C</a></li>
<li class=""><a href="https://www.educba.com/counting-sort-in-c/?source=leftnav">Counting Sort in C</a></li>
<li class=""><a href="https://www.educba.com/merge-sort-in-c/?source=leftnav">Merge Sort in C</a></li>
<li class=""><a href="https://www.educba.com/sparse-matrix-in-c/?source=leftnav">Sparse Matrix in C</a></li>
<li class=""><a href="https://www.educba.com/radix-sort-in-c-program/?source=leftnav">Radix sort in C program</a></li>
<li class=""><a href="https://www.educba.com/string-in-c/?source=leftnav">String in C</a></li>
</ul>
</li><li class="sub"><div class="sname" style="color:#e93f33;font-weight:700;"><i id="ifclass" class="fa fa-folder"></i> Operators <i id="iclass" class="fa fa-caret-right" aria-hidden="true" style="float:right; margin-right: 1em; font-size: small; margin-top: 0.8em;cursor: pointer;color: #464646;"></i></div><div style="clear: both;"></div>
<ul class="subli">
<li class=""><a href="https://www.educba.com/c-operators/?source=leftnav">C Operators</a></li>
<li class=""><a href="https://www.educba.com/arithmetic-operators-in-c/?source=leftnav">Arithmetic Operators in C</a></li>
<li class=""><a href="https://www.educba.com/relational-operators-in-c/?source=leftnav">Relational Operators in C</a></li>
<li class=""><a href="https://www.educba.com/assignment-operators-in-c/?source=leftnav">Assignment Operators in C</a></li>
<li class=""><a href="https://www.educba.com/logical-operators-in-c/?source=leftnav">Logical Operators in C</a></li>
<li class=""><a href="https://www.educba.com/conditional-operator-in-c/?source=leftnav">Conditional Operator in C</a></li>
<li class=""><a href="https://www.educba.com/modulus-operator-in-c/?source=leftnav">Modulus Operator in C</a></li>
<li class=""><a href="https://www.educba.com/ternary-operator-in-c/?source=leftnav">Ternary Operator in C</a></li>
<li class=""><a href="https://www.educba.com/address-operator-in-c/?source=leftnav">Address Operator in C</a></li>
<li class=""><a href="https://www.educba.com/unary-operator-in-c/?source=leftnav">Unary Operator in C</a></li>
<li class=""><a href="https://www.educba.com/operators-precedence-in-c/?source=leftnav">Operators Precedence in C</a></li>
<li class=""><a href="https://www.educba.com/left-shift-operator-in-c/?source=leftnav">Left Shift Operator in C</a></li>
</ul>
</li><li class="sub"><div class="sname" style="color:#e93f33;font-weight:700;"><i id="ifclass" class="fa fa-folder"></i> Control Statement <i id="iclass" class="fa fa-caret-right" aria-hidden="true" style="float:right; margin-right: 1em; font-size: small; margin-top: 0.8em;cursor: pointer;color: #464646;"></i></div><div style="clear: both;"></div>
<ul class="subli">
<li class=""><a href="https://www.educba.com/control-statements-in-c/?source=leftnav">Control Statements in C</a></li>
<li class=""><a href="https://www.educba.com/if-statement-in-c/?source=leftnav">If Statement in C</a></li>
<li class=""><a href="https://www.educba.com/if-else-statement-in-c/?source=leftnav">If-else Statement in C</a></li>
<li class=""><a href="https://www.educba.com/else-if-statement-in-c/?source=leftnav">Else if Statement in C</a></li>
<li class=""><a href="https://www.educba.com/nested-if-statement-in-c/?source=leftnav">Nested if Statement in C</a></li>
<li class=""><a href="https://www.educba.com/hash-else-in-c/?source=leftnav">#else in C</a></li>
<li class=""><a href="https://www.educba.com/structure-padding-in-c/?source=leftnav">Structure Padding in C</a></li>
<li class=""><a href="https://www.educba.com/nested-structure-in-c/?source=leftnav">Nested Structure in C</a></li>
<li class=""><a href="https://www.educba.com/continue-statement-in-c/?source=leftnav">Continue Statement in C</a></li>
<li class=""><a href="https://www.educba.com/break-statement-in-c/?source=leftnav">Break&nbsp;Statement&nbsp;in C</a></li>
<li class=""><a href="https://www.educba.com/switch-statement-in-c/?source=leftnav">Switch Statement in C</a></li>
<li class=""><a href="https://www.educba.com/goto-statement-in-c/?source=leftnav">Goto Statement in C</a></li>
</ul>
</li><li class="sub"><div class="sname" style="color:#e93f33;font-weight:700;"><i id="ifclass" class="fa fa-folder"></i> Loops <i id="iclass" class="fa fa-caret-right" aria-hidden="true" style="float:right; margin-right: 1em; font-size: small; margin-top: 0.8em;cursor: pointer;color: #464646;"></i></div><div style="clear: both;"></div>
<ul class="subli">
<li class=""><a href="https://www.educba.com/loops-in-c/?source=leftnav">Loops in C</a></li>
<li class=""><a href="https://www.educba.com/for-loop-in-c/?source=leftnav">For Loop in C</a></li>
<li class=""><a href="https://www.educba.com/while-loop-in-c/?source=leftnav">While Loop in C</a></li>
<li class=""><a href="https://www.educba.com/do-while-loop-in-c/?source=leftnav">Do While Loop in C</a></li>
<li class=""><a href="https://www.educba.com/nested-loop-in-c/?source=leftnav">Nested Loop in C</a></li>
<li class=""><a href="https://www.educba.com/infinite-loop-in-c/?source=leftnav">Infinite Loop in C&nbsp;</a></li>
</ul>
</li><li class="sub"><div class="sname" style="color:#e93f33;font-weight:700;"><i id="ifclass" class="fa fa-folder"></i> Function <i id="iclass" class="fa fa-caret-right" aria-hidden="true" style="float:right; margin-right: 1em; font-size: small; margin-top: 0.8em;cursor: pointer;color: #464646;"></i></div><div style="clear: both;"></div>
<ul class="subli">
<li class=""><a href="https://www.educba.com/c-string-functions/?source=leftnav">C String Functions</a></li>
<li class=""><a href="https://www.educba.com/math-functions-in-c/?source=leftnav">Math Functions in C</a></li>
<li class=""><a href="https://www.educba.com/hashing-function-in-c/?source=leftnav">Hashing Function in C</a></li>
<li class=""><a href="https://www.educba.com/hash-table-in-c/?source=leftnav">Hash Table in C</a></li>
<li class=""><a href="https://www.educba.com/recursive-function-in-c/?source=leftnav">Recursive Function in C</a></li>
<li class=""><a href="https://www.educba.com/power-function-in-c/?source=leftnav">Power Function in C</a></li>
<li class=""><a href="https://www.educba.com/fputs-in-c/?source=leftnav">fputs in C</a></li>
<li class=""><a href="https://www.educba.com/c-puts-function/?source=leftnav">C puts() Function</a></li>
<li class=""><a href="https://www.educba.com/fprintf-in-c/?source=leftnav">fprintf() in C</a></li>
<li class=""><a href="https://www.educba.com/fseek-in-c/?source=leftnav">fseek() in C</a></li>
<li class=""><a href="https://www.educba.com/stderr-in-c/?source=leftnav">Stderr in C</a></li>
<li class=""><a href="https://www.educba.com/ascii-value-in-c/?source=leftnav">ASCII Value in C</a></li>
<li class=""><a href="https://www.educba.com/strcat-in-c/?source=leftnav">strcat() in C</a></li>
<li class=""><a href="https://www.educba.com/inline-function-in-c/?source=leftnav">Inline Function in C</a></li>
<li class=""><a href="https://www.educba.com/sizeof-in-c/?source=leftnav">sizeof() in C</a></li>
<li class=""><a href="https://www.educba.com/function-prototype-in-c/?source=leftnav">Function Prototype in C</a></li>
<li class=""><a href="https://www.educba.com/c-ftell/?source=leftnav">C ftell()</a></li>
</ul>
</li><li class="sub"><div class="sname" style="color:#e93f33;font-weight:700;"><i id="ifclass" class="fa fa-folder"></i> Array <i id="iclass" class="fa fa-caret-right" aria-hidden="true" style="float:right; margin-right: 1em; font-size: small; margin-top: 0.8em;cursor: pointer;color: #464646;"></i></div><div style="clear: both;"></div>
<ul class="subli">
<li class=""><a href="https://www.educba.com/arrays-in-c-programming/?source=leftnav">Arrays in C Programming</a></li>
<li class=""><a href="https://www.educba.com/2-d-arrays-in-c/?source=leftnav">2-D Arrays in C</a></li>
<li class=""><a href="https://www.educba.com/3d-arrays-in-c/?source=leftnav">3D Arrays in C</a></li>
<li class=""><a href="https://www.educba.com/multidimensional-array-in-c/?source=leftnav">Multidimensional Array in C</a></li>
<li class=""><a href="https://www.educba.com/array-functions-in-c/?source=leftnav">Array Functions in C</a></li>
<li class=""><a href="https://www.educba.com/strings-array-in-c/?source=leftnav">Strings Array in C</a></li>
</ul>
</li><li class="sub"><div class="sname" style="color:#e93f33;font-weight:700;"><i id="ifclass" class="fa fa-folder"></i> Sorting <i id="iclass" class="fa fa-caret-right" aria-hidden="true" style="float:right; margin-right: 1em; font-size: small; margin-top: 0.8em;cursor: pointer;color: #464646;"></i></div><div style="clear: both;"></div>
<ul class="subli">
<li class=""><a href="https://www.educba.com/sorting-in-c/?source=leftnav">Sorting in C</a></li>
<li class=""><a href="https://www.educba.com/heap-sort-in-c/?source=leftnav">Heap Sort in C</a></li>
<li class=""><a href="https://www.educba.com/bubble-sort-in-c/?source=leftnav">Bubble Sort in C</a></li>
<li class=""><a href="https://www.educba.com/selection-sort-in-c/?source=leftnav">Selection sort in C</a></li>
<li class=""><a href="https://www.educba.com/shell-sort-c/?source=leftnav">Shell sort C</a></li>
</ul>
</li><li class="sub"><div class="sname" style="color:#e93f33;font-weight:700;"><i id="ifclass" class="fa fa-folder"></i> Advanced <i id="iclass" class="fa fa-caret-right" aria-hidden="true" style="float:right; margin-right: 1em; font-size: small; margin-top: 0.8em;cursor: pointer;color: #464646;"></i></div><div style="clear: both;"></div>
<ul class="subli">
<li class=""><a href="https://www.educba.com/constructor-in-c/?source=leftnav">Constructor in C</a></li>
<li class=""><a href="https://www.educba.com/encapsulation-in-c/?source=leftnav">Encapsulation in C</a></li>
<li class=""><a href="https://www.educba.com/c-storage-classes/?source=leftnav">C Storage Classes</a></li>
<li class=""><a href="https://www.educba.com/static-keyword-in-c/?source=leftnav">Static Keyword in C</a></li>
<li class=""><a href="https://www.educba.com/file-handling-in-c/?source=leftnav">File Handling in C</a></li>
<li class=""><a href="https://www.educba.com/queue-in-c/?source=leftnav">Queue in C</a></li>
<li class=""><a href="https://www.educba.com/circular-queue-in-c/?source=leftnav">Circular Queue in C</a></li>
<li class=""><a href="https://www.educba.com/hexadecimal-in-c/?source=leftnav">Hexadecimal in C&nbsp;</a></li>
<li class=""><a href="https://www.educba.com/typedef-in-c/?source=leftnav">typedef in C</a></li>
<li class=""><a href="https://www.educba.com/memory-allocation-in-c/?source=leftnav">Memory Allocation in C</a></li>
<li class=""><a href="https://www.educba.com/linked-list-in-c/?source=leftnav">Linked List in C</a></li>
<li class=""><a href="https://www.educba.com/volatile-in-c/?source=leftnav">Volatile in C</a></li>
<li class=""><a href="https://www.educba.com/tokens-in-c/?source=leftnav">Tokens in C</a></li>
<li class=""><a href="https://www.educba.com/expression-in-c/?source=leftnav">Expression in C</a></li>
<li class=""><a href="https://www.educba.com/regular-expression-in-c/?source=leftnav">Regular Expression in C</a></li>
<li class=""><a href="https://www.educba.com/error-handling-in-c/?source=leftnav">Error Handling in C</a></li>
<li class=""><a href="https://www.educba.com/types-of-errors-in-c/?source=leftnav">Types of Errors in C</a></li>
<li class=""><a href="https://www.educba.com/programming-errors-in-c/?source=leftnav">Programming Errors in C</a></li>
<li class=""><a href="https://www.educba.com/preprocessor-in-c/?source=leftnav">Preprocessor in C</a></li>
<li class=""><a href="https://www.educba.com/preprocessor-directives-in-c/?source=leftnav">Preprocessor Directives in C</a></li>
<li class=""><a href="https://www.educba.com/c-union/?source=leftnav">C Union</a></li>
<li class=""><a href="https://www.educba.com/fscanf-in-c/?source=leftnav">fscanf() in C</a></li>
<li class=""><a href="https://www.educba.com/hash-pragma-in-c/?source=leftnav">#Pragma in C</a></li>
<li class=""><a href="https://www.educba.com/sharp-ifndef-in-c/?source=leftnav">#ifndef in C</a></li>
<li class=""><a href="https://www.educba.com/sharp-undef-in-c/?source=leftnav">#undef in C</a></li>
<li class=""><a href="https://www.educba.com/hash-include-in-c/?source=leftnav">#include in C</a></li>
<li class=""><a href="https://www.educba.com/macros-in-c/?source=leftnav">Macros in C</a></li>
<li class=""><a href="https://www.educba.com/what-is-embedded-c/?source=leftnav">What is Embedded C?</a></li>
<li class=""><a href="https://www.educba.com/binary-search-in-c/?source=leftnav">Binary Search in C</a></li>
<li class=""><a href="https://www.educba.com/circular-doubly-linked-list-in-c/?source=leftnav">Circular Doubly Linked List in C</a></li>
<li class=""><a href="https://www.educba.com/circular-linked-lists-in-c/?source=leftnav">Circular Linked Lists in C</a></li>
<li class=""><a href="https://www.educba.com/bfs-algorithm-in-c/?source=leftnav">BFS algorithm in C</a></li>
<li class=""><a href="https://www.educba.com/dfs-algorithm-in-c/?source=leftnav">DFS Algorithm in C</a></li>
<li class=""><a href="https://www.educba.com/fundamentals-of-data-structure-in-c/?source=leftnav">Fundamentals of Data Structure in C</a></li>
<li class=""><a href="https://www.educba.com/linear-search-in-c/?source=leftnav">Linear Search in C</a></li>
</ul>
</li><li class="sub"><div class="sname" style="color:#e93f33;font-weight:700;"><i id="ifclass" class="fa fa-folder"></i> C programs <i id="iclass" class="fa fa-caret-right" aria-hidden="true" style="float:right; margin-right: 1em; font-size: small; margin-top: 0.8em;cursor: pointer;color: #464646;"></i></div><div style="clear: both;"></div>
<ul class="subli">
<li class=""><a href="https://www.educba.com/patterns-in-c-programming/?source=leftnav">Patterns in C Programming</a></li>
<li class=""><a href="https://www.educba.com/star-patterns-in-c/?source=leftnav">Star Patterns in C</a></li>
<li class=""><a href="https://www.educba.com/number-patterns-in-c/?source=leftnav">Number Patterns in C</a></li>
<li class=""><a href="https://www.educba.com/swapping-in-c/?source=leftnav">Swapping in C</a></li>
<li class=""><a href="https://www.educba.com/reverse-number-in-c/?source=leftnav">Reverse Number in C</a></li>
<li class=""><a href="https://www.educba.com/palindrome-in-c-program/?source=leftnav">Palindrome in C Program</a></li>
<li class=""><a href="https://www.educba.com/factorial-in-c/?source=leftnav">Factorial in C</a></li>
<li class=""><a href="https://www.educba.com/fibonacci-series-in-c/?source=leftnav">Fibonacci Series in C</a></li>
<li class=""><a href="https://www.educba.com/square-root-in-c/?source=leftnav">Square Root in C</a></li>
<li class=""><a href="https://www.educba.com/random-number-generator-in-c/?source=leftnav">Random Number Generator in C</a></li>
<li class=""><a href="https://www.educba.com/prime-numbers-in-c/?source=leftnav">Prime Numbers in C</a></li>
<li class=""><a href="https://www.educba.com/escape-sequence-in-c/?source=leftnav">Escape Sequence in C</a></li>
<li class=""><a href="https://www.educba.com/reverse-string-in-c/?source=leftnav">Reverse String in C</a></li>
<li class=""><a href="https://www.educba.com/leap-year-program-in-c/?source=leftnav">Leap Year Program in C</a></li>
<li class=""><a href="https://www.educba.com/perfect-number-in-c/?source=leftnav">Perfect Number in C</a></li>
<li class=""><a href="https://www.educba.com/anagram-program-in-c/?source=leftnav">Anagram Program in C</a></li>
<li class=""><a href="https://www.educba.com/strong-number-in-c/?source=leftnav">Strong Number in C</a></li>
<li class=""><a href="https://www.educba.com/atm-program-in-c/?source=leftnav">ATM Program in C</a></li>
<li class=""><a href="https://www.educba.com/binary-tree-program-in-c/?source=leftnav">Binary Tree Program in C</a></li>
<li class=""><a href="https://www.educba.com/string-concatenation-in-c/?source=leftnav">String Concatenation in C</a></li>
<li class=""><a href="https://www.educba.com/c-programming-matrix-multiplication/?source=leftnav">C Programming Matrix Multiplication</a></li>
<li class=""><a href="https://www.educba.com/decimal-to-octal-in-c/?source=leftnav">Decimal to Octal in C</a></li>
<li class=""><a href="https://www.educba.com/expression-evaluation-in-c/?source=leftnav">Expression Evaluation in C</a></li>
<li class=""><a href="https://www.educba.com/decimal-to-hexadecimal-in-c/?source=leftnav">Decimal to Hexadecimal in C</a></li>
<li class=""><a href="https://www.educba.com/bucket-sort-in-c/?source=leftnav">Bucket Sort in C</a></li>
</ul>
<!--<h6 id="sticky-title2"> Courses</h6>
<ul id="list2" class="rounded-list">-->
<!--</ul>-->
<!---loop end--->
</li></ul></div>
</div>
<br>
<div class="rel-courses rel-stick" style="position: static; top: 6em; left: 4.2em;">
<p class="subcat-name"> Related Courses</p>

<div class="contentinner"><h4><a href="https://www.educba.com/software-development/courses/c-programming-course/?source=leftnav">C Programming Training Course </a></h4></div><div class="contentinner"><h4><a href="https://www.educba.com/software-development/courses/c-course/?source=leftnav">C++ Training Course </a></h4></div><div class="contentinner"><h4><a href="https://www.educba.com/software-development/courses/java-course/?source=leftnav">Java Training Course </a></h4></div></div>
<script>
var fixmeTop = jQuery('.rel-courses').offset().top;
jQuery(window).scroll(function() {
    var currentScroll = jQuery(window).scrollTop();
    if (currentScroll >= fixmeTop) {
        jQuery('.rel-courses').css({
            position: 'fixed',
            top: '6em',
            left: '4.2em'
        });
    } else {
        jQuery('.rel-courses').css({
            position: 'static'
        });
    }
});
</script>
</div>
		</div></section>
</aside></div></div><footer class="site-footer"><div class="wrap"><div class="footer-widgets"><span class="genesis-sidebar-title screen-reader-text">Footer</span><div class="wrap"><div class="widget-area footer-widgets-1 footer-widget-area"><section id="custom_html-17" class="widget_text widget widget_custom_html"><div class="widget_text widget-wrap"><h6 class="widget-title widgettitle">About Us</h6><div class="textwidget custom-html-widget"><ul style="line-height:18px;font-family: &#39;Montserrat&#39;, Helvetica, Arial, sans-serif;">
<li><a href="https://www.educba.com/blog/?source=footer">Blog</a></li>
<li><a href="https://www.educba.com/about-us/?source=footer">Who is EDUCBA?</a></li>
<li><a href="https://www.educba.com/software-development/signup/?source=footer">Sign Up</a></li>
<li><a href="https://www.educba.com/corporate/?source=footer">Corporate Training</a></li>
<li><a href="https://www.educba.com/educbalive/?source=footer" rel="nofollow">Certificate from Top Institutions</a></li>
<li><a href="https://www.educba.com/contact-us/?source=footer">Contact Us</a></li>
<li><a href="https://www.educba.com/software-development/verifiable-certificate/?source=footer">Verifiable Certificate</a></li>
<li><a href="https://www.educba.com/software-development/reviews/?source=footer">Reviews</a></li>
<li><a href="https://www.educba.com/terms-and-conditions/?source=footer">Terms and Conditions</a></li>
<li><a href="https://www.educba.com/privacy-policy/?source=footer">Privacy Policy</a></li>
<li>&nbsp;</li>
</ul>
<!--<h6 class="widget-title widgettitle">Free Courses</h6>
<ul style="line-height:18px;font-family: 'Montserrat', Helvetica, Arial, sans-serif;">
<li><a href="https://www.educba.com/software-development/courses/free-programming-course/">Free Course Programming</a></li>
<li><a href="https://www.educba.com/software-development/courses/free-python-course/">Free course Python</a></li>
<li><a href="https://www.educba.com/software-development/courses/free-java-online-course/">Free Course Java</a></li>
<li><a href="https://www.educba.com/software-development/courses/free-javascript-course/">Free Course Javascript</a></li>
<li><a href="https://www.educba.com/software-development/courses/free-sql-course/">Free Course on SQL</a></li>
<li><a href="https://www.educba.com/software-development/courses/free-web-design-course/">Free Course on Web Design</a></li>
<li><a href="https://www.educba.com/software-development/courses/free-html-course/">Free HTML Course</a></li>
<li><a href="https://www.educba.com/software-development/courses/free-android-app-development-course/">Free Android App Development Course</a></li>
<li><a href="#">All Free Course</a></li>
</ul>-->
</div></div></section>
</div><div class="widget-area footer-widgets-2 footer-widget-area"><section id="custom_html-20" class="widget_text widget widget_custom_html"><div class="widget_text widget-wrap"><h6 class="widget-title widgettitle">Apps</h6><div class="textwidget custom-html-widget"><ul style="line-height:18px;font-family: &#39;Montserrat&#39;, Helvetica, Arial, sans-serif;">
<li><a href="https://itunes.apple.com/in/app/educba-learning-app/id1341654580?mt=8">iPhone &amp; iPad</a></li>
<li><a href="https://play.google.com/store/apps/details?id=com.educba.www">Android</a></li>
</ul></div></div></section>
</div><div class="widget-area footer-widgets-3 footer-widget-area"><section id="custom_html-19" class="widget_text widget widget_custom_html"><div class="widget_text widget-wrap"><h6 class="widget-title widgettitle">Resources</h6><div class="textwidget custom-html-widget"><ul style="line-height:18px;font-family: &#39;Montserrat&#39;, Helvetica, Arial, sans-serif;">
<li><a href="https://www.educba.com/software-development/free-courses/?source=footer">Free Courses</a></li>
<li><a href="https://www.educba.com/software-development/software-development-tutorials/java-tutorial/?source=footer">Java Tutorials</a></li>
<li><a href="https://www.educba.com/software-development/software-development-tutorials/python-tutorial/?source=footer">Python Tutorials</a></li>
<li><a href="https://www.educba.com/software-development/software-development-tutorials/?source=footer">All Tutorials</a></li>
<!--<li><a href="https://www.educba.com/software-development/software-development-tutorials/top-differences-tutorial/?source=footer">Top Differences</a></li>
<li><a href="https://www.educba.com/software-development/software-development-tutorials/top-interview-question/?source=footer">Top Interview Question</a></li>
<li><a href="https://www.educba.com/software-development/software-development-tutorials/programming-languages-tutorial/?source=footer">Programming Languages</a></li>
<li><a href="https://www.educba.com/software-development/software-development-tutorials/html-tutorial/?source=footer">HTML CSS Tutorial</a></li>
<li><a href="https://www.educba.com/software-development/software-development-tutorials/software-development-basics/?source=footer">Technology Basics</a></li>
<li><a href="https://www.educba.com/software-development/software-development-tutorials/software-development-careers/?source=footer">Technology Careers</a></li>
<li><a href="https://www.educba.com/software-development/software-development-tutorials/ethical-hacking-tutorial/?source=footer">Ethical Hacking Tutorial</a></li> -->

</ul>
</div></div></section>
</div><div class="widget-area footer-widgets-4 footer-widget-area"><section id="custom_html-18" class="widget_text widget widget_custom_html"><div class="widget_text widget-wrap"><h6 class="widget-title widgettitle">Certification Courses</h6><div class="textwidget custom-html-widget"><ul style="line-height:18px;font-family: &#39;Montserrat&#39;, Helvetica, Arial, sans-serif;">
<li><a href="https://www.educba.com/software-development/courses/?source=footer">All Courses</a></li>
<li><a href="https://www.educba.com/software-development/courses/software-development-course/?source=footer">Software Development Course - All in One Bundle</a></li>
<li><a href="https://www.educba.com/software-development/courses/python-certification-course/?source=footer">Become a Python Developer</a></li>
<li><a href="https://www.educba.com/software-development/courses/java-course/?source=footer">Java Course</a></li>
<li><a href="https://www.educba.com/software-development/courses/selenium-training-certification/?source=footer">Become a Selenium Automation Tester</a></li>
<li><a href="https://www.educba.com/software-development/courses/iot-course/?source=footer">Become an IoT Developer</a></li>
<li><a href="https://www.educba.com/software-development/courses/asp-net-course/?source=footer">ASP.NET Course</a></li>
<li><a href="https://www.educba.com/software-development/courses/vb-net-course/?source=footer">VB.NET Course</a></li>
<li><a href="https://www.educba.com/software-development/courses/php-course/?source=footer">PHP Course</a></li>
</ul>
</div></div></section>
</div></div></div>	<p style="text-align:center;font-family:Montserrat;">© 2020 - EDUCBA. ALL RIGHTS RESERVED. THE CERTIFICATION NAMES ARE THE TRADEMARKS OF THEIR RESPECTIVE OWNERS.</p>
	<a href="https://www.educba.com/function-pointer-in-c/?source=leftnav#top" class="back-to-top"></a></div></footer></div>            <script type="text/javascript">
                jQuery(function($) {
                    function equalHeight(group) {
                        tallest = 0;
                        group.each(function() {
                            thisHeight = $(this).height();
                            if(thisHeight > tallest) {
                                tallest = thisHeight;
                            }
                        });
                        group.height(tallest);
                    }

                    equalHeight($(".dg-grid-shortcode .dg_grid-shortcode-col"));

                    $(window).resize(function() {
                        equalHeight($(".dg-grid-shortcode .dg_grid-shortcode-col"));
                    });
                });
            </script>
            <script type="text/javascript">
var colomatduration = 'fast';
var colomatslideEffect = 'slideFade';
var colomatpauseInit = '';
var colomattouchstart = '';
</script><div id="pum-476363" class="pum pum-overlay pum-theme-97827 pum-theme-default-theme popmake-overlay click_open" data-popmake="{&quot;id&quot;:476363,&quot;slug&quot;:&quot;temp-popup-for-testing&quot;,&quot;theme_id&quot;:97827,&quot;cookies&quot;:[],&quot;triggers&quot;:[{&quot;type&quot;:&quot;click_open&quot;,&quot;settings&quot;:{&quot;cookie_name&quot;:&quot;&quot;,&quot;extra_selectors&quot;:&quot;.quiz-btn&quot;}}],&quot;mobile_disabled&quot;:null,&quot;tablet_disabled&quot;:null,&quot;meta&quot;:{&quot;display&quot;:{&quot;stackable&quot;:false,&quot;overlay_disabled&quot;:false,&quot;scrollable_content&quot;:false,&quot;disable_reposition&quot;:false,&quot;size&quot;:&quot;medium&quot;,&quot;responsive_min_width&quot;:&quot;0%&quot;,&quot;responsive_min_width_unit&quot;:false,&quot;responsive_max_width&quot;:&quot;100%&quot;,&quot;responsive_max_width_unit&quot;:false,&quot;custom_width&quot;:&quot;640px&quot;,&quot;custom_width_unit&quot;:false,&quot;custom_height&quot;:&quot;380px&quot;,&quot;custom_height_unit&quot;:false,&quot;custom_height_auto&quot;:false,&quot;location&quot;:&quot;center top&quot;,&quot;position_from_trigger&quot;:false,&quot;position_top&quot;:&quot;100&quot;,&quot;position_left&quot;:&quot;0&quot;,&quot;position_bottom&quot;:&quot;0&quot;,&quot;position_right&quot;:&quot;0&quot;,&quot;position_fixed&quot;:false,&quot;animation_type&quot;:&quot;fade&quot;,&quot;animation_speed&quot;:&quot;350&quot;,&quot;animation_origin&quot;:&quot;center top&quot;,&quot;overlay_zindex&quot;:false,&quot;zindex&quot;:&quot;1999999999&quot;},&quot;close&quot;:{&quot;text&quot;:&quot;&quot;,&quot;button_delay&quot;:&quot;0&quot;,&quot;overlay_click&quot;:false,&quot;esc_press&quot;:false,&quot;f4_press&quot;:false},&quot;click_open&quot;:[]}}" role="dialog" aria-hidden="true">

	<div id="popmake-476363" class="pum-container popmake theme-97827 pum-responsive pum-responsive-medium responsive size-medium">

				

				

		

				<div class="pum-content popmake-content">
			<style>.cor-ans{  background:#eafaea; border-left: 0px solid;  /* border-color: #33cc33;*/}  .wro-ans{ background:	#fde7e7; border-left: 0px solid;  /* border-color: #ff1a1a;*/} .cor-ans-badge{background-color:#33cc33; color:white; padding: 1px 8px; border-radius: 18px;} .wro-ans-badge{background-color:#ff1a1a; color:white; padding: 1px 11px; border-radius: 20px;}
#qns{ font-size: 1.2em; } .ans{ font-size: 1.2em; } #tviewmore{ padding: 20px;background: #ddf2e9;color:#000;border-left: 4px solid #0b5bec; } .uk-alert-danger.wro-ans{ color: #ff1a1a;}.ed_modal .loader_edqn{position: absolute;
    left: 0;
    margin-top: 6em;
    right: 0;}.quiz-img {position: absolute;
    top: -3.5em;
    width: 80px;
    padding: 0.2em 0.5em;
    left: 0;
    border-radius: 10%;
    background: #fff;
    right: 0;
    margin-left: auto;
    margin-right: auto;}.ed_modal form{
    border: thin solid #b7b5b5;
		border-radius: 5px;}.quiz-sticky {width: 80px}.qns{background: darkkhaki;
    padding: 1.5em 1.5em 0em 1.5em;background-image: linear-gradient(to top,#e93f33,#ea4b32,#eb5632,#ec6032,#ec6a33)!important;
			color: #fff;}.ans{padding:0 1.5em;color: #3a3939;} #submit-q,#nxt-q{margin: 0 2em;background-image: linear-gradient(to top,#e93f33,#ea4b32,#eb5632,#ec6032,#ec6a33)!important;padding: 0.8em 2em;}.green-txt{color:green;font-weight:800}
	@media (min-device-width : 320px) and (max-device-width : 480px) {
		.back-to-top{left: 1em;}.quiz-img{width: 60px !important;}.quiz-sticky {width: 60px !important; top: 85% !important;
}}
	.spin-loader {
  border: 6px solid #f3f3f3;
  border-radius: 50%;margin: 0 auto;
  border-top: 6px solid #3498db;
  width: 30px;
  height: 30px;
  -webkit-animation: spin 2s linear infinite; /* Safari */
  animation: spin 2s linear infinite;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
</style>
<div class="uk-modal-dialog uk-modal-body ed_modal">
	<div align="center"><div class="loader_edqn" style="text-align: center; color: rgb(0, 0, 0); display: none;"><div class=" spin-loader"></div><!--<img src="https://cdn.educba.com/images/EDUCBA.gif" style="display:inline-block;" alt="loading">-->Loading . . .</div></div>
	<img src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/80xauto_quiz.png" alt="Quiz" class="quiz-img">
	<form name="frm_q" id="frm_q" method="post" autocomplete="off">
	<div id="edt_loader" class="uk-icon uk-position-cover uk-overlay uk-overlay-default uk-flex uk-flex-center uk-flex-middle uk-spinner" uk-spinner="" style="display: none;z-index:3"></div>
	<div id="edt_success" class="uk-alert-success" style="display:none" uk-alert=""> </div>
	<div id="edt_error" class="uk-alert-danger" style="display:none" uk-alert="">   </div>
	<div class="uk-margin mt-0 qns"><b>Question: <span id="cnt">1</span></b><div class="uk-form-controls"><p id="qns" name="qns" placeholder="Enter Question" value="">Who created the C programming language?</p></div></div>

	<div class="uk-margin ans"><div class="uk-form-label"><b>Answer:</b></div>
	<div class="uk-form-controls">
	<ul class="c-curriculum" style="padding-left:0;list-style-type: none;">
	<li><ul class="sec-list" id="rad_itemss"><li> <input type="radio" class="uk-radio" id="opt-1" name="radio" value="1" required="">&nbsp; <label for="opt-1">Charles Babbage</label></li><li> <input type="radio" class="uk-radio" id="opt-2" name="radio" value="2" required="">&nbsp; <label for="opt-2">Grahambel</label></li><li> <input type="radio" class="uk-radio" id="opt-3" name="radio" value="3" required="">&nbsp; <label for="opt-3">Dennis Ritchie</label></li><li> <input type="radio" class="uk-radio" id="opt-4" name="radio" value="4" required="">&nbsp; <label for="opt-4">Steve Jobs</label></li></ul></li></ul>
	<p style="color:#000;" id="qsolution"></p>
	</div>
	</div>
		
	<div style="overflow-x:auto;"><table id="qresult" style="display:none;"><thead><tr><td colspan="4"><b>Quiz Result</b></td></tr></thead><tbody><tr><td><b>Total Questions</b></td><td><b>Correct Answers</b></td><td><b>Wrong Answers</b></td><td><b>Percentage</b></td></tr><tr><td id="qtot"></td><td id="qcor"></td><td id="qwro"></td><td id="qper"></td></tr></tbody></table></div>
	<p id="tviewmore" style="display:none; ">Explore 1000+ varieties of Mock tests <a href="https://www.examturf.com/?btnz=educbablog" class="btn btn-default" target="_blank">View more</a></p>
	<input type="hidden" name="questionno" id="questionno" value="1">
	<input type="hidden" name="qid" id="qid" value="467">
	
	<input type="hidden" name="cor_ans" id="cor_ans" value="0">
	<input type="hidden" name="wro_ans" id="wro_ans" value="0">
	<input type="hidden" name="category" id="category" value="211444">
	
	<p class="uk-text-right"><button class="uk-button uk-button-primary" id="submit-q" type="button">Submit</button>  <button style="display:none;" class="uk-button uk-button-secondary " id="nxt-q" type="button">Next Question</button> </p><input type="hidden" name="pum_form_popup_id" value="476363"></form>
	
</div>
<script>
jQuery(document).ready(function(){
var loader = jQuery(".loader_edqn");
loader.show();
 
function getNextQuestion(){
jQuery.ajax({
		type : "GET",
		url  : 'https://www.educba.com/ajax/get-questions.php',
		data: jQuery("#frm_q").serialize(),
		dataType: "json",
		cache: false,
		async: true 
	}).done(function(response) {
		console.log(response);
		if(response.status == "Yes"){
		
		var currentq = jQuery("#questionno").val();
		++currentq;
		jQuery("#cnt").html(currentq);
		jQuery("#questionno").val(currentq);
		jQuery("#qid").val(response.qid);
		
		jQuery("#qns").html(response.question);
		var options ="";
		if(response.options != "No"){
			jQuery.each(response.options, function(index, element) {
				options += "<li> <input type='radio' class='uk-radio' id='opt-"+(index+1)+"' name='radio' value='"+(index+1)+"' required>  <label for='opt-"+(index+1)+"'>"+element+"</label></li>";
			});
			
		}
		jQuery("#rad_itemss").html(options);
		
		if(response.display_result == "Yes"){
			jQuery(".qns, .ans, #qsolution, #nxt-q, #submit-q").hide();
			jQuery("#qresult, #tviewmore").show();
			var qtot = jQuery("#questionno").val() - 1;
			var qcor = jQuery("#cor_ans").val();
			var qwro = jQuery("#wro_ans").val();
			jQuery("#qtot").html(qtot);
			jQuery("#qcor").html(qcor);
			jQuery("#qwro").html(qwro);
			jQuery("#qper").html(((qcor / qtot) * 100)+"%");
			console.log("Display result");
		}
		jQuery("#qsolution").html("");
		}else{
			//jQuery("#edt_error").html("No Quiz Availble").addClass("wro-ans").show(); loader.hide();
		}
		loader.hide();
	}).fail(function(err) {  loader.hide(); control.log(err) });
	
}
//on page load 
getNextQuestion();

//Fetch next Question
jQuery(document).on('click', '#nxt-q', function(evt){
	loader.show();
	getNextQuestion();
	jQuery("#submit-q").show();
	jQuery("#nxt-q").hide();
	evt.preventDefault();
});

//Evaluate Question
jQuery(document).on('click', '#submit-q', function(evt){
	loader.show();
	jQuery("#edt_error").html("").hide();
	var getSelectedValue = jQuery('input[name="radio"]:checked');   
    //console.log("value : "+ JSON.stringify(getSelectedValue));
    if(getSelectedValue.length != 0) {
         
	if(jQuery("#qid").val() == ''){
		jQuery("#edt_error").html("<p>Something went wrong !</p>").addClass("wro-ans").show(); loader.hide();
	}else{
	jQuery.ajax({
		type : "GET",
		url  : 'https://www.educba.com/ajax/get-answer.php',
		data: jQuery("#frm_q").serialize(),
		dataType: "json",
		cache: false,
		async: true 
	}).done(function(response) {
		if(response.status == "Yes"){
		var user_ans = jQuery('input[name="radio"]:checked').val();
		var correct_ans = response.cor_opt;
		jQuery("#opt-"+correct_ans).parent().addClass("cor-ans").append(" <span class='cor-ans-badge'>&check;</span>");
		jQuery("#qsolution").html("<br><span class='green-txt'>Solution : </span>"+response.solution);
		
		if(user_ans == correct_ans){
			var temp = jQuery("#cor_ans").val(); ++temp;
			jQuery("#cor_ans").val(temp);
		}else{
			var temp = jQuery("#wro_ans").val(); ++temp;
			jQuery("#wro_ans").val(temp);
			jQuery("#opt-"+user_ans).parent().addClass("wro-ans").append(" <span class='wro-ans-badge'>x</span>");
		}
		jQuery("#nxt-q").show();
		jQuery("#submit-q").hide();
		
		}
		loader.hide();
	}).fail(function(err) {  loader.hide(); console.log(err) });
	}
	
	} else {
        jQuery("#edt_error").html("Please select the option").addClass("wro-ans").show(); loader.hide();
    } 
	evt.preventDefault();
});

});
</script> 

	
		</div>


				

				            <button type="button" class="pum-close popmake-close" aria-label="Close">
			X            </button>
		
	</div>

</div>
<div id="pum-97847" class="pum pum-overlay pum-theme-106959 pum-theme-full-screen-custom popmake-overlay pum-click-to-close exit_intent click_open" data-popmake="{&quot;id&quot;:97847,&quot;slug&quot;:&quot;exit-intent-auto-popup-desktop&quot;,&quot;theme_id&quot;:106959,&quot;cookies&quot;:[{&quot;event&quot;:&quot;on_popup_close&quot;,&quot;settings&quot;:{&quot;name&quot;:&quot;pum-97847&quot;,&quot;key&quot;:&quot;&quot;,&quot;session&quot;:false,&quot;time&quot;:&quot;12 hours&quot;,&quot;path&quot;:true}}],&quot;triggers&quot;:[{&quot;type&quot;:&quot;exit_intent&quot;,&quot;settings&quot;:{&quot;cookie_name&quot;:[&quot;pum-97847&quot;],&quot;top_sensitivity&quot;:&quot;10&quot;,&quot;delay_sensitivity&quot;:&quot;350&quot;}},{&quot;type&quot;:&quot;click_open&quot;,&quot;settings&quot;:{&quot;extra_selectors&quot;:&quot;&quot;,&quot;cookie_name&quot;:null}}],&quot;mobile_disabled&quot;:true,&quot;tablet_disabled&quot;:true,&quot;meta&quot;:{&quot;display&quot;:{&quot;stackable&quot;:false,&quot;overlay_disabled&quot;:false,&quot;scrollable_content&quot;:false,&quot;disable_reposition&quot;:false,&quot;size&quot;:&quot;small&quot;,&quot;responsive_min_width&quot;:&quot;0%&quot;,&quot;responsive_min_width_unit&quot;:false,&quot;responsive_max_width&quot;:&quot;100%&quot;,&quot;responsive_max_width_unit&quot;:false,&quot;custom_width&quot;:&quot;640px&quot;,&quot;custom_width_unit&quot;:false,&quot;custom_height&quot;:&quot;380px&quot;,&quot;custom_height_unit&quot;:false,&quot;custom_height_auto&quot;:false,&quot;location&quot;:&quot;center top&quot;,&quot;position_from_trigger&quot;:false,&quot;position_top&quot;:&quot;100&quot;,&quot;position_left&quot;:&quot;0&quot;,&quot;position_bottom&quot;:&quot;0&quot;,&quot;position_right&quot;:&quot;0&quot;,&quot;position_fixed&quot;:&quot;1&quot;,&quot;animation_type&quot;:&quot;fade&quot;,&quot;animation_speed&quot;:&quot;350&quot;,&quot;animation_origin&quot;:&quot;center top&quot;,&quot;overlay_zindex&quot;:false,&quot;zindex&quot;:&quot;1999999999&quot;},&quot;close&quot;:{&quot;text&quot;:&quot;x&quot;,&quot;button_delay&quot;:&quot;0&quot;,&quot;overlay_click&quot;:&quot;1&quot;,&quot;esc_press&quot;:&quot;1&quot;,&quot;f4_press&quot;:false},&quot;click_open&quot;:[]}}" role="dialog" aria-hidden="true">

	<div id="popmake-97847" class="pum-container popmake theme-106959 pum-responsive pum-responsive-small responsive size-small pum-position-fixed">

				

				

		

				<div class="pum-content popmake-content">
			<style type="text/css">.khal1{display:none}#pum-97847{background:#fff}#popmake-97847{display:-webkit-inline-box}#free-crs-ext{text-align:-webkit-center}#nw-email-free-crs-ext{margin-bottom:10px;width:100%}#main_content{color:#000;font-size:26px;margin-top:10px;font-family:Montserrat,Helvetica,Arial,sans-serif;font-weight:500}#dis_content{color:#3c3c3c;font-size:14px;font-family:Montserrat,Helvetica,Arial,sans-serif;margin-top:8px;line-height:22px}#email-form-free-crs{padding:10px}.line5{color:red;font-size:14px;line-height:20px;margin-top:8px}#submit-free-crs-ext{width:100%;background-image: linear-gradient(to top,#e93f33,#ea4b32,#eb5632,#ec6032,#ec6a33)!important;}.pum-content{padding:0}.line4{font-size:13px;margin-top:2px}.alert-style5 .alert{background-color:transparent;border-bottom-width:3px}.fade.in{opacity:1}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1!important}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:5px}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.alert-style5 .alert i{background-color:transparent}.alert-style5 .alert-danger:hover{background-color:#f2dede}.alert-style5 .alert:hover{border-color:rgba(0,0,0,.1)}.alert-style5 .alert{background-color:transparent;border-bottom-width:3px}.policy{text-align: center;
    margin: 0 auto;} .policy p{display: inline-block;
    text-align: center;
    margin: 0 auto;
    font-size: 0.85em;
		padding-top:1em;}</style><div id="free-crs-ext" data-id="" class="white-popup-block center-col bg-white text-center modal-popup-main"><div id="loader-free-crs-ext" class="loading" style="display:none;"></div><div class="center-col"><div id="email-form-free-crs-ext"><div id="error-free-crs-ext" class="col-md-12 col-sm-12 col-xs-12 center-col text-center alert-style5" style="display:none"><div class="alert alert-danger fade in" role="alert"><i class="fa fa-warning alert-danger"></i><span id="err-free-crs-ext"></span></div></div><img src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/website_logo_transparent_background.png" width="155" class="EDUCBA" alt="EDUCBA"><div id="main_content"><span class="slider-subtitle5 black-text text-center title-large margin-four text-transform-none letter-spacing-1 no-margin-bottom" id="spmn">Free Software Development Course</span></div><p id="dis_content">Web development, programming languages, Software testing &amp; others</p><form name="form-free-crs-ext" id="form-free-crs-ext" autocomplete="off"><div class="form-group no-margin-bottom"><input type="text" name="user-phone-free-crs-ext" id="user-phone-free-crs-ext" placeholder="Enter your phone no" class="khal1" autocomplete="off"><input type="text" placeholder="Enter Email Address" name="nw-email-free-crs-ext" id="nw-email-free-crs-ext" value="">
<input type="hidden" name="suid-free-crs-ext" id="suid-free-crs-ext" value="1878"><input type="hidden" name="url-free-crs-ext" id="url-free-crs-ext" value="https://www.educba.com/function-pointer-in-c/?source=leftnav"><input type="hidden" name="fcdp-trs-ext" id="fcdp-trs-ext" value=""><input type="hidden" name="mn-trm-tx-id" id="mn-trm-tx-id" value="NA"><input name="submit-free-crs-ext" id="submit-free-crs-ext" type="submit" value="Give me FREE Access" class="title-small landing-subscribe-button xs-width-100 width-100 no-margin-bottom"><div class="line5"><i>*Please provide your correct email id. Login details for this Free course will be emailed to you</i></div></div><input type="hidden" name="pum_form_popup_id" value="97847"></form><div class="policy"><p>By signing up, you agree to our <a href="https://www.educba.com/terms-and-conditions/">Terms of Use</a> and <a href="https://www.educba.com/privacy-policy/">Privacy Policy</a>.</p></div>
</div></div></div>
<script type="text/javascript">
plt = '';
user_envir = '';
jQuery(document).ready(function(){

if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
	plt = "mobile";
	user_envir = encodeURIComponent(navigator.userAgent);
} else {
	plt = "desktop";
	user_envir = encodeURIComponent(navigator.userAgent);
}

jQuery('#form-free-crs-ext').on('submit', function (e) {
jQuery('input[type="submit"]').attr('disabled', true);
jQuery("#loader-free-crs-ext").css("display","block");

uem = encodeURIComponent(jQuery("#nw-email-free-crs-ext").val());
sg = jQuery("#suid-free-crs-ext").val();
var urlx = jQuery("#url-free-crs-ext").val();
zipcode = jQuery("#user-phone-free-crs-ext").val();
mntrm = jQuery("#mn-trm-tx-id").val();
var spn = jQuery("#spmn").text();
if(jQuery('#nw-mob-free-crs-ext').length){
var mbn = jQuery("#nw-mob-free-crs-ext").val();
}
if(uem == '') {
jQuery("#loader-free-crs-ext").css("display","none");
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs-ext").css("display","block");
jQuery('#error-free-crs-ext').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Please enter your email..</span></div>");
} else {
	
var fregt = jQuery("#fcdp-trs-ext").val();
jQuery.ajax({
type : "POST",
dataType: "json",
cache: false,
url  : 'https://www.educba.com/edb_jx/gtk_fregtk.php',
data: 't=' + fregt,
async: true,
success : function(response){
	jQuery("#fcdp-trs-ext").attr("value",response.tk);
	fregt = jQuery("#fcdp-trs-ext").val();
	
jQuery.ajax({
method : "POST",
dataType: "json",
cache: false,
url  : 'https://www.educba.com/ajax/nwz-frz-rgsz.php',
data : 'em=' + uem + '&sgs=' + sg + '&envir=' + plt + '&upf=' + user_envir+'&urlx=' +urlx+'&zipcode='+zipcode+'&mntrm='+mntrm + '&t=' + fregt + '&mb=' + mbn + '&sp=' + spn,
async: true,
success : function(resp){
jQuery("#loader-free-crs-ext").css("display","none");
if(resp.access == "no") {
if(resp.eml_error == "yes") {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs-ext").css("display","block");
jQuery('#error-free-crs-ext').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Please enter your valid email (Check your email for spelling mistakes).</span></div>");
}else if(resp.usr_exists == "yes") {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs-ext").css("display","block");
jQuery('#error-free-crs-ext').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Specified email is already registered. Please provide another email.</span></div>");
}else if(resp.tk_valid == "no") {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs-ext").css("display","block");
jQuery('#error-free-crs-ext').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Error Occurred. Please refresh the page and try again.</span></div>");
}
} else {
if(resp.tk_valid == "yes") {
jQuery('#email-form-free-crs').css("display","none");
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs-ext").css("display","block");
jQuery('#error-free-crs-ext').html("<div class='alert alert-success fade in' role='alert'><i class='fa fa-check-circle alert-success'></i><span id='err-free-crs'>Registration for Free Trial successful. Please check your email for login details.</span></div>");
window.location.href = "https://www.educba.com/my-courses/index.php";
} else {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs-ext").css("display","block");
jQuery('#error-free-crs-ext').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Error Occurred. Please refresh teh page and try again..</span></div>");
}
}
}
});
}
});
}
return false;
e.preventDefault();
});	
});
</script>

		</div>


				

				            <button type="button" class="pum-close popmake-close" aria-label="Close">
			x            </button>
		
	</div>

</div>
<div id="pum-138145" class="pum pum-overlay pum-theme-97827 pum-theme-default-theme popmake-overlay pum-click-to-close click_open" data-popmake="{&quot;id&quot;:138145,&quot;slug&quot;:&quot;login-popup&quot;,&quot;theme_id&quot;:97827,&quot;cookies&quot;:[],&quot;triggers&quot;:[{&quot;type&quot;:&quot;click_open&quot;,&quot;settings&quot;:{&quot;extra_selectors&quot;:&quot;&quot;,&quot;cookie_name&quot;:null}}],&quot;mobile_disabled&quot;:null,&quot;tablet_disabled&quot;:null,&quot;meta&quot;:{&quot;display&quot;:{&quot;stackable&quot;:false,&quot;overlay_disabled&quot;:false,&quot;scrollable_content&quot;:false,&quot;disable_reposition&quot;:false,&quot;size&quot;:&quot;small&quot;,&quot;responsive_min_width&quot;:&quot;0%&quot;,&quot;responsive_min_width_unit&quot;:false,&quot;responsive_max_width&quot;:&quot;100%&quot;,&quot;responsive_max_width_unit&quot;:false,&quot;custom_width&quot;:&quot;640px&quot;,&quot;custom_width_unit&quot;:false,&quot;custom_height&quot;:&quot;380px&quot;,&quot;custom_height_unit&quot;:false,&quot;custom_height_auto&quot;:false,&quot;location&quot;:&quot;center top&quot;,&quot;position_from_trigger&quot;:false,&quot;position_top&quot;:&quot;100&quot;,&quot;position_left&quot;:&quot;0&quot;,&quot;position_bottom&quot;:&quot;0&quot;,&quot;position_right&quot;:&quot;0&quot;,&quot;position_fixed&quot;:&quot;1&quot;,&quot;animation_type&quot;:&quot;fade&quot;,&quot;animation_speed&quot;:&quot;350&quot;,&quot;animation_origin&quot;:&quot;center top&quot;,&quot;overlay_zindex&quot;:false,&quot;zindex&quot;:&quot;1999999999&quot;},&quot;close&quot;:{&quot;text&quot;:&quot;&quot;,&quot;button_delay&quot;:&quot;0&quot;,&quot;overlay_click&quot;:&quot;1&quot;,&quot;esc_press&quot;:&quot;1&quot;,&quot;f4_press&quot;:false},&quot;click_open&quot;:[]}}" role="dialog" aria-hidden="true">

	<div id="popmake-138145" class="pum-container popmake theme-97827 pum-responsive pum-responsive-small responsive size-small pum-position-fixed">

				

				

		

				<div class="pum-content popmake-content">
			<style type="text/css">.btn{background-image: linear-gradient(to top,#e93f33,#ea4b32,#eb5632,#ec6032,#ec6a33)!important;}#title{font-size:25px;text-align:center;color:#3c3c3c}.pum-content{padding:17px;font-family:Montserrat,Helvetica,Arial,sans-serif}.textname{color:#3c3c3c}.wel-text{font-size: 1.2em;color:#525252;margin:0.5em 0;text-align:center}.wel-text span{color:#379c16;text-transform:uppercase}.policy{text-align: center;
    margin: 0 auto;} .policy p{display: inline-block;
    text-align: center;
    margin: 0 auto;
    font-size: 0.85em;
		padding-top:1em;} .popmake-content{    padding: 1em;}</style><div id="title"><span class="title-small font-weight-700 text-transform-none black-text">EDUCBA Login</span></div><!--<div class="wel-text" >Welcome back, <span>!</span></div>--><div class="separator-line bg-black no-margin-lr margin-ten"></div><form action="https://www.educba.com/nwp_logon.php" method="POST"><div class="form-group no-margin-bottom"><label for="le" class="text-uppercase textname">Username</label>
<input type="text" name="le" id="le" value=""></div><div class="form-group no-margin-bottom"><input type="hidden" name="token" value="7dfded80183129add6b00ac90a20e8fbdf00dd94064d3d63b99026c42a70910e"><label for="lp" class="text-uppercase textname">Password</label><input type="password" name="lp" id="lp"></div><div class="checkbox margin-five"><p class="text-uppercase margin-three no-margin-bottom"><a href="https://www.educba.com/forgot-password/">Forgot Password?</a></p></div>
<button class="btn btn-black no-margin-bottom btn-small btn-round no-margin-top" type="submit">Submit</button><input type="hidden" name="pum_form_popup_id" value="138145"></form><div class="policy"><p>By signing up, you agree to our <a href="https://www.educba.com/terms-and-conditions/">Terms of Use</a> and <a href="https://www.educba.com/privacy-policy/">Privacy Policy</a>.</p></div>
		</div>


				

				            <button type="button" class="pum-close popmake-close" aria-label="Close">
			X            </button>
		
	</div>

</div>
<div id="pum-422031" class="pum pum-overlay pum-theme-97827 pum-theme-default-theme popmake-overlay click_open" data-popmake="{&quot;id&quot;:422031,&quot;slug&quot;:&quot;live-1-1-booking&quot;,&quot;theme_id&quot;:97827,&quot;cookies&quot;:[],&quot;triggers&quot;:[{&quot;type&quot;:&quot;click_open&quot;,&quot;settings&quot;:{&quot;extra_selectors&quot;:&quot;&quot;,&quot;cookie_name&quot;:null}}],&quot;mobile_disabled&quot;:null,&quot;tablet_disabled&quot;:null,&quot;meta&quot;:{&quot;display&quot;:{&quot;stackable&quot;:false,&quot;overlay_disabled&quot;:false,&quot;scrollable_content&quot;:false,&quot;disable_reposition&quot;:false,&quot;size&quot;:&quot;small&quot;,&quot;responsive_min_width&quot;:&quot;0%&quot;,&quot;responsive_min_width_unit&quot;:false,&quot;responsive_max_width&quot;:&quot;100%&quot;,&quot;responsive_max_width_unit&quot;:false,&quot;custom_width&quot;:&quot;640px&quot;,&quot;custom_width_unit&quot;:false,&quot;custom_height&quot;:&quot;380px&quot;,&quot;custom_height_unit&quot;:false,&quot;custom_height_auto&quot;:false,&quot;location&quot;:&quot;center top&quot;,&quot;position_from_trigger&quot;:false,&quot;position_top&quot;:&quot;100&quot;,&quot;position_left&quot;:&quot;0&quot;,&quot;position_bottom&quot;:&quot;0&quot;,&quot;position_right&quot;:&quot;0&quot;,&quot;position_fixed&quot;:false,&quot;animation_type&quot;:&quot;fade&quot;,&quot;animation_speed&quot;:&quot;350&quot;,&quot;animation_origin&quot;:&quot;center top&quot;,&quot;overlay_zindex&quot;:false,&quot;zindex&quot;:&quot;1999999999&quot;},&quot;close&quot;:{&quot;text&quot;:&quot;x&quot;,&quot;button_delay&quot;:&quot;0&quot;,&quot;overlay_click&quot;:false,&quot;esc_press&quot;:false,&quot;f4_press&quot;:false},&quot;click_open&quot;:[]}}" role="dialog" aria-hidden="true">

	<div id="popmake-422031" class="pum-container popmake theme-97827 pum-responsive pum-responsive-small responsive size-small">

				

				

		

				<div class="pum-content popmake-content">
			<style>
.col-75{margin:1em 0}.col-75 input{height:50px}.uk-radio{height: 16px !important; width: 16px !important;}
.loader-bn{text-align:center;border:2px solid #e7e7e7;border-radius:50%;border-top:2px solid #3498db;width:15px;height:15px;-webkit-animation:spin 1s linear infinite;animation:spin 1s linear infinite}
</style>

<div class="container"><h6 class="mb-7 text-danger">Book Your One Instructor :  One Learner Free Class</h6><span class="err-msg" style="display:none;"></span>
  <form class="uk-form-horizontal  mt-2">
  <div class="uk-margin">
        <label class="uk-form-label" for="form-horizontal-text">Name:</label>
        <div class="uk-form-controls">
            <input class="uk-input" id="name" name="name" type="text" placeholder="" required="">
        </div>
    </div>
 <div class="uk-margin">
        <label class="uk-form-label" for="form-horizontal-text">Email ID</label>
        <div class="uk-form-controls">
            <input class="uk-input" id="email" name="email" type="email" placeholder="" required="">
			<input class="uk-input" id="ftoken" name="ftoken" type="hidden" value="314043f80d2c799768ef8d4caba2424b" placeholder="">
        </div>
    </div>
  <div class="uk-margin">
        <label class="uk-form-label" for="form-horizontal-text">Contact No.</label>
        <div class="uk-form-controls">
            <input class="uk-input" id="phone" name="phone" type="Number" placeholder="" required="">
        </div>
    </div>
 <!-- <div class="row">
  <div class="col-75"><p>Select a Date:</p>
     <ul uk-tab>
    <li class="uk-active"><a href="#">10th Oct 2020</a></li>
    <li><a href="#">11th Oct 2020</a></li>
</ul>
 
<ul class="uk-switcher mt-4" style="touch-action: pan-y pinch-zoom;">
<li class="uk-flex" uk-grid><div class="uk-width-1-3"><input class="uk-radio mr-3" type="radio" name="radio1" checked> 9.00 IST </div><div class="uk-width-1-3"> <input class="uk-radio mr-3" type="radio" name="radio1" checked> 5.00 IST</div></li>
<li class="uk-flex mt-0" uk-grid><div class="uk-width-1-3"><input class="uk-radio mr-3" type="radio" name="radio1" checked> 9.00 IST </div><div class="uk-width-1-3"> <input class="uk-radio mr-3" type="radio" name="radio1" checked> 5.00 IST</div></li>
</ul>
    </div>
  </div> -->
  <div class="row">
    <div class="loader-bn" id="loader-bundle" style="display: none;"></div><input id="onetoone" type="button" value="Submit">
  </div>
  <input type="hidden" name="pum_form_popup_id" value="422031"></form>
</div>

<script>
jQuery('.container').on("click", "#onetoone", function() {

jQuery(".loader-bn").css("display","inline-flex");
var name = jQuery("#name").val();
var email = jQuery("#email").val();
var phone = jQuery("#phone").val();
var ftoken = jQuery("#ftoken").val();

if(name == "" || email == "" || phone == "") {
jQuery(".loader-bn").css("display","none");
jQuery(".err-msg").html("Please enter all the details !!");
jQuery(".err-msg").css("display","block");
} else {
console.log("name"+name+"email"+email+"phone"+phone+"ftoken"+ftoken);
jQuery.ajax({
	type : "POST",
	url  : 'https://www.educba.com/ajax/register-one-to-one-lc.php',
	data : 'name=' + name+'&email='+email+'&phone='+phone+'&ftoken='+ftoken,
	dataType: "json",
	async: true,
	cache: false,
	success : function(response){
		jQuery(".loader-bn").css("display","none");
		console.log("name"+name+"email"+email+"phone"+phone+"ftoken"+ftoken+"return:"+response.error+response.status);
		if(response.status == "yes") {
		jQuery(".err-msg").html("Thank you for registration! we will get back to you");
		jQuery(".err-msg").css("display","block");
		}else if(response.error == "yes") {
		jQuery(".err-msg").html("please enter all the details");
		jQuery(".err-msg").css("display","block");
		}else if(response.error == "already_exist") {
		jQuery(".err-msg").html("You have already regisred!");
		jQuery(".err-msg").css("display","block");
		} else {
		jQuery(".err-msg").html("Something went wrong");
		jQuery(".err-msg").css("display","block");
		}
	}
});

}
});
</script>
		</div>


				

				            <button type="button" class="pum-close popmake-close" aria-label="Close">
			x            </button>
		
	</div>

</div>
<div id="pum-415387" class="pum pum-overlay pum-theme-97827 pum-theme-default-theme popmake-overlay click_open" data-popmake="{&quot;id&quot;:415387,&quot;slug&quot;:&quot;download-curr-popup&quot;,&quot;theme_id&quot;:97827,&quot;cookies&quot;:[],&quot;triggers&quot;:[{&quot;type&quot;:&quot;click_open&quot;,&quot;settings&quot;:{&quot;extra_selectors&quot;:&quot;&quot;,&quot;cookie_name&quot;:null}}],&quot;mobile_disabled&quot;:null,&quot;tablet_disabled&quot;:null,&quot;meta&quot;:{&quot;display&quot;:{&quot;stackable&quot;:false,&quot;overlay_disabled&quot;:false,&quot;scrollable_content&quot;:false,&quot;disable_reposition&quot;:false,&quot;size&quot;:&quot;small&quot;,&quot;responsive_min_width&quot;:&quot;0%&quot;,&quot;responsive_min_width_unit&quot;:false,&quot;responsive_max_width&quot;:&quot;100%&quot;,&quot;responsive_max_width_unit&quot;:false,&quot;custom_width&quot;:&quot;640px&quot;,&quot;custom_width_unit&quot;:false,&quot;custom_height&quot;:&quot;380px&quot;,&quot;custom_height_unit&quot;:false,&quot;custom_height_auto&quot;:false,&quot;location&quot;:&quot;center top&quot;,&quot;position_from_trigger&quot;:false,&quot;position_top&quot;:&quot;100&quot;,&quot;position_left&quot;:&quot;0&quot;,&quot;position_bottom&quot;:&quot;0&quot;,&quot;position_right&quot;:&quot;0&quot;,&quot;position_fixed&quot;:false,&quot;animation_type&quot;:&quot;fade&quot;,&quot;animation_speed&quot;:&quot;350&quot;,&quot;animation_origin&quot;:&quot;center top&quot;,&quot;overlay_zindex&quot;:false,&quot;zindex&quot;:&quot;1999999999&quot;},&quot;close&quot;:{&quot;text&quot;:&quot;x&quot;,&quot;button_delay&quot;:&quot;0&quot;,&quot;overlay_click&quot;:false,&quot;esc_press&quot;:false,&quot;f4_press&quot;:false},&quot;click_open&quot;:[]}}" role="dialog" aria-hidden="true">

	<div id="popmake-415387" class="pum-container popmake theme-97827 pum-responsive pum-responsive-small responsive size-small">

				

				

		

				<div class="pum-content popmake-content">
			<p></p>
		</div>


				

				            <button type="button" class="pum-close popmake-close" aria-label="Close">
			x            </button>
		
	</div>

</div>
<div id="pum-150987" class="pum pum-overlay pum-theme-97827 pum-theme-default-theme popmake-overlay click_open" data-popmake="{&quot;id&quot;:150987,&quot;slug&quot;:&quot;shopping-cart-popup&quot;,&quot;theme_id&quot;:97827,&quot;cookies&quot;:[],&quot;triggers&quot;:[{&quot;type&quot;:&quot;click_open&quot;,&quot;settings&quot;:{&quot;extra_selectors&quot;:&quot;&quot;,&quot;cookie_name&quot;:null}}],&quot;mobile_disabled&quot;:null,&quot;tablet_disabled&quot;:null,&quot;meta&quot;:{&quot;display&quot;:{&quot;stackable&quot;:false,&quot;overlay_disabled&quot;:false,&quot;scrollable_content&quot;:false,&quot;disable_reposition&quot;:false,&quot;size&quot;:&quot;small&quot;,&quot;responsive_min_width&quot;:&quot;0%&quot;,&quot;responsive_min_width_unit&quot;:false,&quot;responsive_max_width&quot;:&quot;100%&quot;,&quot;responsive_max_width_unit&quot;:false,&quot;custom_width&quot;:&quot;640px&quot;,&quot;custom_width_unit&quot;:false,&quot;custom_height&quot;:&quot;380px&quot;,&quot;custom_height_unit&quot;:false,&quot;custom_height_auto&quot;:false,&quot;location&quot;:&quot;center top&quot;,&quot;position_from_trigger&quot;:false,&quot;position_top&quot;:&quot;100&quot;,&quot;position_left&quot;:&quot;0&quot;,&quot;position_bottom&quot;:&quot;0&quot;,&quot;position_right&quot;:&quot;0&quot;,&quot;position_fixed&quot;:&quot;1&quot;,&quot;animation_type&quot;:&quot;fade&quot;,&quot;animation_speed&quot;:&quot;350&quot;,&quot;animation_origin&quot;:&quot;center top&quot;,&quot;overlay_zindex&quot;:false,&quot;zindex&quot;:&quot;1999999999&quot;},&quot;close&quot;:{&quot;text&quot;:&quot;&quot;,&quot;button_delay&quot;:&quot;0&quot;,&quot;overlay_click&quot;:false,&quot;esc_press&quot;:false,&quot;f4_press&quot;:false},&quot;click_open&quot;:[]}}" role="dialog" aria-hidden="true">

	<div id="popmake-150987" class="pum-container popmake theme-97827 pum-responsive pum-responsive-small responsive size-small pum-position-fixed">

				

				

		

				<div class="pum-content popmake-content">
			<style>#title{font-size:25px; text-align: center; color: #3c3c3c;} .pum-content{padding: 17px;font-family: 'Montserrat', Helvetica, Arial, sans-serif;} .textname{color: #3c3c3c; font-weight: 600;} #paidpaypal3 {margin-top:10px;} #frmuser .form-group {margin: 8px 0; } .errmsg{font-style: italic;font-size: 14px;} #shopemail, #shopmob {border: 2px solid #d7d8d9 !important;} 
.loadr-bn {
	text-align: center;
	border: 5px solid #e7e7e7;
	border-radius: 50%;
	border-top: 4px solid #a0a1a1;
	width: 20px;
	height: 20px;
	-webkit-animation: spin 1s linear infinite; /* Safari */
	animation: spin 1s linear infinite;
	margin-top: 1.5em;
	margin-left: 1em;
}

/* Safari */
@-webkit-keyframes spin {
  0% { -webkit-transform: rotate(0deg); }
  100% { -webkit-transform: rotate(360deg); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
	.policy{text-align: center;
    margin: 0 auto;} .policy p{display: inline-block;
    text-align: center;
    margin: 0 auto;
    font-size: 0.85em;
		padding-top:1em;}#popmake-150987 .popmake-content{    padding: 1em;}
</style>
<!-- form title  -->
<div id="title"><span class="title-small font-weight-700 text-transform-none black-text"><i class="fa fa-graduation-cap fa-lg"></i> Let’s Get Started</span></div>
<!-- end form title  -->
<!-- form sub title  -->
<!-- end form sub title  -->
<div class="separator-line bg-black no-margin-lr margin-ten"></div>
		<form name="frmuser" id="frmuser" autocomplete="off">
			<div class="form-group no-margin-bottom left-aligned">
			<!-- label  -->
			<div id="err-msgx" style="display:none; color: #ff0000">
			   <span class="errmsg"></span>
			</div>
			<label for="shopemail" class="text-uppercase textname">Email ID <span style="color: #ff0000">*</span></label>
			<!-- end label  -->
			<!-- input  -->
			<input type="text" name="shopemail" id="shopemail" value="" required="">
			<input type="hidden" name="fcdp-trs-shc" id="fcdp-trs-shc" value="">	
			<!-- end input  -->
			
			</div>
			
			<div style="display: inline-flex;" class="five-sixths">
			<!-- button  -->
			<div class="" style="margin: 0 auto;">
			<input type="submit" id="paidpaypal3" class="btn btn-black no-margin-bottom btn-small btn-round no-margin-top" name="paidintnl" value="Proceed"> 
			</div><div class="loadr-bn one-sixth" style="display:none;"></div>
			</div>
		<input type="hidden" name="pum_form_popup_id" value="150987"></form>	
<div class="policy"><p>By signing up, you agree to our <a href="https://www.educba.com/terms-and-conditions/">Terms of Use</a> and <a href="https://www.educba.com/privacy-policy/">Privacy Policy</a>.</p></div>
		<span id="getrszpnte"></span>
<!-- end button  -->								
<script>
	var redirect_url  = "https://www.educba.com/cart/";
	
jQuery('#frmuser').on("submit", function(e){

semail = encodeURIComponent(jQuery("#shopemail").val());
//smob = jQuery("#shopmob").val();
jQuery(".loadr-bn").css("display","block");
if(semail){
	
var fregt = jQuery("#fcdp-trs-shc").val();
jQuery.ajax({
type : "POST",
dataType: "json",
cache: false,
url  : 'https://www.educba.com/edb_jx/gtk_fregtk.php',
data: 't=' + fregt,
async: true,
success : function(response){
	jQuery("#fcdp-trs-shc").attr("value",response.tk);
	fregt = jQuery("#fcdp-trs-shc").val();
	
jQuery.ajax({
	type : "POST",
	url  : 'https://www.educba.com/cart/modules/add-email.php',
	data : 'semail='+semail + '&t=' + fregt,
	dataType: "json",
	async: true,
	cache: false,
	success : function(msgr){
		jQuery(".loadr-bn").css("display","none");
		if(msgr.updated == "Yes"){
			jQuery("#err-msgx").css("display","none"); 
			jQuery("#frmuser .errmsg").html("");
			
		window.location.href = redirect_url;
		}else{
			if(msgr.eml_error == "yes"){
			jQuery("#err-msgx").css("display","block");
			jQuery("#frmuser .errmsg").html("Please enter your valid Email ID.");				
			} else {
			jQuery("#err-msgx").css("display","block");
			jQuery("#frmuser .errmsg").html("Error Occurred. Please refresh the page and try again.");
			}
		}
	}
});
}
});
}else{
	jQuery(".loadr-bn").css("display","none");
	jQuery("#err-msgx").css("display","block");
	jQuery("#frmuser .errmsg").html("Please enter your Email.");
}
return false;
e.preventDefault();
});
</script>
		</div>


				

				            <button type="button" class="pum-close popmake-close" aria-label="Close">
			X            </button>
		
	</div>

</div>
<div id="pum-378149" class="pum pum-overlay pum-theme-97829 pum-theme-enterprise-blue popmake-overlay pum-overlay-disabled auto_open click_open" data-popmake="{&quot;id&quot;:378149,&quot;slug&quot;:&quot;cookie-consent&quot;,&quot;theme_id&quot;:97829,&quot;cookies&quot;:[{&quot;event&quot;:&quot;on_popup_close&quot;,&quot;settings&quot;:{&quot;name&quot;:&quot;pum-378149&quot;,&quot;key&quot;:&quot;&quot;,&quot;session&quot;:false,&quot;time&quot;:&quot;3 days&quot;,&quot;path&quot;:true}}],&quot;triggers&quot;:[{&quot;type&quot;:&quot;auto_open&quot;,&quot;settings&quot;:{&quot;cookie_name&quot;:[&quot;pum-378149&quot;],&quot;delay&quot;:&quot;500&quot;}},{&quot;type&quot;:&quot;click_open&quot;,&quot;settings&quot;:{&quot;extra_selectors&quot;:&quot;&quot;,&quot;cookie_name&quot;:null}}],&quot;mobile_disabled&quot;:null,&quot;tablet_disabled&quot;:null,&quot;meta&quot;:{&quot;display&quot;:{&quot;stackable&quot;:&quot;1&quot;,&quot;overlay_disabled&quot;:&quot;1&quot;,&quot;scrollable_content&quot;:false,&quot;disable_reposition&quot;:false,&quot;size&quot;:&quot;tiny&quot;,&quot;responsive_min_width&quot;:&quot;0%&quot;,&quot;responsive_min_width_unit&quot;:false,&quot;responsive_max_width&quot;:&quot;100%&quot;,&quot;responsive_max_width_unit&quot;:false,&quot;custom_width&quot;:&quot;640px&quot;,&quot;custom_width_unit&quot;:false,&quot;custom_height&quot;:&quot;380px&quot;,&quot;custom_height_unit&quot;:false,&quot;custom_height_auto&quot;:false,&quot;location&quot;:&quot;left bottom&quot;,&quot;position_from_trigger&quot;:false,&quot;position_top&quot;:&quot;100&quot;,&quot;position_left&quot;:&quot;10&quot;,&quot;position_bottom&quot;:&quot;10&quot;,&quot;position_right&quot;:&quot;0&quot;,&quot;position_fixed&quot;:&quot;1&quot;,&quot;animation_type&quot;:&quot;fadeAndSlide&quot;,&quot;animation_speed&quot;:&quot;350&quot;,&quot;animation_origin&quot;:&quot;left bottom&quot;,&quot;overlay_zindex&quot;:false,&quot;zindex&quot;:&quot;1999999999&quot;},&quot;close&quot;:{&quot;text&quot;:&quot;OK&quot;,&quot;button_delay&quot;:&quot;0&quot;,&quot;overlay_click&quot;:false,&quot;esc_press&quot;:false,&quot;f4_press&quot;:false},&quot;click_open&quot;:[]}}" role="dialog" aria-hidden="true">

	<div id="popmake-378149" class="pum-container popmake theme-97829 pum-responsive pum-responsive-tiny responsive size-tiny pum-position-fixed">

				

				

		

				<div class="pum-content popmake-content">
			<p>This website or its third-party tools use cookies, which are necessary to its functioning and required to achieve the purposes illustrated in the cookie policy. By closing this banner, scrolling this page, clicking a link or continuing to browse otherwise, you agree to our <a title="Privacy Policy" href="https://www.educba.com/privacy-policy/?source=popup">Privacy Policy</a></p>
		</div>


				

				            <button type="button" class="pum-close popmake-close" aria-label="Close">
			OK            </button>
		
	</div>

</div>
<div id="pum-167767" class="pum pum-overlay pum-theme-97827 pum-theme-default-theme popmake-overlay click_open pum-trigger" data-popmake="{&quot;id&quot;:167767,&quot;slug&quot;:&quot;free-template-download-form&quot;,&quot;theme_id&quot;:97827,&quot;cookies&quot;:[],&quot;triggers&quot;:[{&quot;type&quot;:&quot;click_open&quot;,&quot;settings&quot;:{&quot;cookie_name&quot;:&quot;&quot;,&quot;extra_selectors&quot;:&quot;#pum-167767&quot;}}],&quot;mobile_disabled&quot;:null,&quot;tablet_disabled&quot;:null,&quot;meta&quot;:{&quot;display&quot;:{&quot;stackable&quot;:false,&quot;overlay_disabled&quot;:false,&quot;scrollable_content&quot;:false,&quot;disable_reposition&quot;:false,&quot;size&quot;:&quot;small&quot;,&quot;responsive_min_width&quot;:&quot;0%&quot;,&quot;responsive_min_width_unit&quot;:false,&quot;responsive_max_width&quot;:&quot;100%&quot;,&quot;responsive_max_width_unit&quot;:false,&quot;custom_width&quot;:&quot;640px&quot;,&quot;custom_width_unit&quot;:false,&quot;custom_height&quot;:&quot;380px&quot;,&quot;custom_height_unit&quot;:false,&quot;custom_height_auto&quot;:false,&quot;location&quot;:&quot;center top&quot;,&quot;position_from_trigger&quot;:false,&quot;position_top&quot;:&quot;100&quot;,&quot;position_left&quot;:&quot;0&quot;,&quot;position_bottom&quot;:&quot;0&quot;,&quot;position_right&quot;:&quot;0&quot;,&quot;position_fixed&quot;:&quot;1&quot;,&quot;animation_type&quot;:&quot;fade&quot;,&quot;animation_speed&quot;:&quot;350&quot;,&quot;animation_origin&quot;:&quot;center top&quot;,&quot;overlay_zindex&quot;:false,&quot;zindex&quot;:&quot;1999999999&quot;},&quot;close&quot;:{&quot;text&quot;:&quot;x&quot;,&quot;button_delay&quot;:&quot;0&quot;,&quot;overlay_click&quot;:false,&quot;esc_press&quot;:false,&quot;f4_press&quot;:false},&quot;click_open&quot;:[]}}" role="dialog" aria-hidden="true" style="cursor: pointer;">

	<div id="popmake-167767" class="pum-container popmake theme-97827 pum-responsive pum-responsive-small responsive size-small pum-position-fixed">

				

				

		

				<div class="pum-content popmake-content">
			
		</div>


				

				            <button type="button" class="pum-close popmake-close" aria-label="Close">
			x            </button>
		
	</div>

</div>
<div id="pum-161564" class="pum pum-overlay pum-theme-97827 pum-theme-default-theme popmake-overlay click_open" data-popmake="{&quot;id&quot;:161564,&quot;slug&quot;:&quot;new-free-course-popup&quot;,&quot;theme_id&quot;:97827,&quot;cookies&quot;:[],&quot;triggers&quot;:[{&quot;type&quot;:&quot;click_open&quot;,&quot;settings&quot;:{&quot;extra_selectors&quot;:&quot;&quot;,&quot;cookie_name&quot;:null}}],&quot;mobile_disabled&quot;:null,&quot;tablet_disabled&quot;:null,&quot;meta&quot;:{&quot;display&quot;:{&quot;stackable&quot;:false,&quot;overlay_disabled&quot;:false,&quot;scrollable_content&quot;:false,&quot;disable_reposition&quot;:false,&quot;size&quot;:&quot;small&quot;,&quot;responsive_min_width&quot;:&quot;0%&quot;,&quot;responsive_min_width_unit&quot;:false,&quot;responsive_max_width&quot;:&quot;100%&quot;,&quot;responsive_max_width_unit&quot;:false,&quot;custom_width&quot;:&quot;640px&quot;,&quot;custom_width_unit&quot;:false,&quot;custom_height&quot;:&quot;380px&quot;,&quot;custom_height_unit&quot;:false,&quot;custom_height_auto&quot;:false,&quot;location&quot;:&quot;center top&quot;,&quot;position_from_trigger&quot;:false,&quot;position_top&quot;:&quot;100&quot;,&quot;position_left&quot;:&quot;0&quot;,&quot;position_bottom&quot;:&quot;0&quot;,&quot;position_right&quot;:&quot;0&quot;,&quot;position_fixed&quot;:&quot;1&quot;,&quot;animation_type&quot;:&quot;fade&quot;,&quot;animation_speed&quot;:&quot;350&quot;,&quot;animation_origin&quot;:&quot;center top&quot;,&quot;overlay_zindex&quot;:false,&quot;zindex&quot;:&quot;1999999999&quot;},&quot;close&quot;:{&quot;text&quot;:&quot;&quot;,&quot;button_delay&quot;:&quot;0&quot;,&quot;overlay_click&quot;:false,&quot;esc_press&quot;:false,&quot;f4_press&quot;:false},&quot;click_open&quot;:[]}}" role="dialog" aria-hidden="true">

	<div id="popmake-161564" class="pum-container popmake theme-97827 pum-responsive pum-responsive-small responsive size-small pum-position-fixed">

				

				

		

				<div class="pum-content popmake-content">
			<style type="text/css">.khal1{display:none}#pum-97847{background:#fff}#popmake-97847{display:-webkit-inline-box}#nw-free-crs{text-align:-webkit-center}#nww-email-free-crs{margin-bottom:10px;width:100%}#nw-main_content{color:#000;font-size:26px;margin-top:10px;font-family:Montserrat,Helvetica,Arial,sans-serif;font-weight:500}#nw-dis_content{color:#3c3c3c;font-size:14px;font-family:Montserrat,Helvetica,Arial,sans-serif;margin-top:8px;line-height:22px}#nw-email-form-free-crs{padding:10px}.line5{color:red;font-size:14px;line-height:20px;margin-top:8px}#nw-submit-free-crs{width:100%;background-image: linear-gradient(to top,#e93f33,#ea4b32,#eb5632,#ec6032,#ec6a33)!important;}.pum-content{padding:0}.line4{font-size:13px;margin-top:2px}.alert-style5 .alert{background-color:transparent;border-bottom-width:3px}.fade.in{opacity:1}.alert-danger{color:#a94442;background-color:#f2dede;border-color:#ebccd1!important}.alert{padding:15px;margin-bottom:20px;border:1px solid transparent;border-radius:5px}.fade{opacity:0;-webkit-transition:opacity .15s linear;-o-transition:opacity .15s linear;transition:opacity .15s linear}.alert-style5 .alert i{background-color:transparent}.alert-style5 .alert-danger:hover{background-color:#f2dede}.alert-style5 .alert:hover{border-color:rgba(0,0,0,.1)}.alert-style5 .alert{background-color:transparent;border-bottom-width:3px}.policy{text-align: center;
    margin: 0 auto;} .policy p{display: inline-block;
    text-align: center;
    margin: 0 auto;
    font-size: 0.85em;
		padding-top:1em;}</style><div id="nw-free-crs" data-id="" class="white-popup-block center-col bg-white text-center modal-popup-main"><div id="nw-loader-free-crs" class="loading" style="display:none;"></div><div class="center-col"><div id="nw-email-form-free-crs"><div id="nw-error-free-crs" class="col-md-12 col-sm-12 col-xs-12 center-col text-center alert-style5" style="display: none"><div class="alert alert-danger fade in" role="alert"><i class="fa fa-warning alert-danger"></i><span id="nw-err-free-crs"></span></div></div><img src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/website_logo_transparent_background.png" width="155" class="EDUCBA" alt="EDUCBA"><div id="nw-main_content"><span class="slider-subtitle5 black-text text-center title-large margin-four text-transform-none letter-spacing-1 no-margin-bottom"></span></div><p id="nw-dis_content"></p><form name="nw-form-free-crs" id="nw-form-free-crs" autocomplete="off"><div class="form-group no-margin-bottom"><input type="text" name="user-phone-free-crs" id="nw-user-phone-free-crs" placeholder="Enter your phone no" class="khal1" autocomplete="off"><input type="text" placeholder="Enter Email Address" name="nww-email-free-crs" id="nww-email-free-crs" value="">
		
<input type="hidden" name="suid-free-crs" id="nw-suid-free-crs" value="1878">
<input type="hidden" name="url-free-crs" id="nw-url-free-crs" value="https://www.educba.com/function-pointer-in-c/?source=leftnav">
<input type="hidden" name="mn-trm-tx-id" id="nw-mn-trm-tx-id" value="newfc-328817">
<input type="hidden" name="fcdp-trs-nw" id="fcdp-trs-nw" value="">
<input name="submit-free-crs" id="nw-submit-free-crs" type="submit" value="Yes, Gimme FREE Access" class="title-small landing-subscribe-button xs-width-100 width-100 no-margin-bottom"><div class="line5"><i>*Please provide your correct email id. Login details for this Free course will be emailed to you</i></div></div><input type="hidden" name="pum_form_popup_id" value="161564"></form><div class="policy"><p>By signing up, you agree to our <a href="https://www.educba.com/terms-and-conditions/">Terms of Use</a> and <a href="https://www.educba.com/privacy-policy/">Privacy Policy</a>.</p></div></div></div></div>
<script type="text/javascript">
plt = '';
user_envir = '';
jQuery(document).ready(function(){

if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
	plt = "mobile";
	user_envir = encodeURIComponent(navigator.userAgent);
} else {
	plt = "desktop";
	user_envir = encodeURIComponent(navigator.userAgent);
}

jQuery('#nw-form-free-crs').on('submit', function (e) {
jQuery('input[type="submit"]').attr('disabled', true);
jQuery("#nw-loader-free-crs").css("display","block");

uem = encodeURIComponent(jQuery("#nww-email-free-crs").val());
sg = jQuery("#nw-suid-free-crs").val();
var urlx = jQuery("#nw-url-free-crs").val();
zipcode = jQuery("#nw-user-phone-free-crs").val();
mntrm = jQuery("#nw-mn-trm-tx-id").val();
if(jQuery('#nww-mob-free-crs').length){
var mbn = jQuery("#nww-mob-free-crs").val();
}
if(uem == '') {
jQuery("#nw-loader-free-crs").css("display","none");
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#nw-error-free-crs").css("display","block");
jQuery('#nw-error-free-crs').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Please enter your email..</span></div>");
} else {
var fregt = jQuery("#fcdp-trs-nw").val();
jQuery.ajax({
type : "POST",
dataType: "json",
cache: false,
url  : 'https://www.educba.com/edb_jx/gtk_fregtk.php',
data: 't=' + fregt,
async: true,
success : function(response){
	jQuery("#fcdp-trs-nw").attr("value",response.tk);
	fregt = jQuery("#fcdp-trs-nw").val();
	
jQuery.ajax({
method : "POST",
dataType: "json",
cache: false,
url  : 'https://www.educba.com/ajax/nwz-frz-rgsz.php',
data : 'em=' + uem + '&sgs=' + sg + '&envir=' + plt + '&upf=' + user_envir+'&urlx=' +urlx+'&zipcode='+zipcode+'&mntrm='+mntrm + '&t=' + fregt + '&mb=' + mbn,
async: true,
success : function(resp){
jQuery("#nw-loader-free-crs").css("display","none");
if(resp.access == "no") {
if(resp.eml_error == "yes") {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#nw-error-free-crs").css("display","block");
jQuery('#nw-error-free-crs').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Please enter your valid email (Check your email for spelling mistakes).</span></div>");
}else if(resp.usr_exists == "yes") {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#nw-error-free-crs").css("display","block");
jQuery('#nw-error-free-crs').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Specified email is already registered. Please provide another email.</span></div>");
}else if(resp.tk_valid == "no") {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#nw-error-free-crs").css("display","block");
jQuery('#nw-error-free-crs').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Error Occurred. Please refresh the page and try again.</span></div>");
}
} else {
if(resp.tk_valid == "yes") {
jQuery('#email-form-free-crs').css("display","none");
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#nw-error-free-crs").css("display","block");
jQuery('#nw-error-free-crs').html("<div class='alert alert-success fade in' role='alert'><i class='fa fa-check-circle alert-success'></i><span id='err-free-crs'>Registration for Free Trial successful. Please check your email for login details.</span></div>");
window.location.href = "https://www.educba.com/my-courses/index.php";
} else {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#nw-error-free-crs").css("display","block");
jQuery('#nw-error-free-crs').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Error Occurred. Please refresh teh page and try again..</span></div>");
}
}
}
});
}
});
}
return false;
e.preventDefault();
});	
});
</script>

		</div>


				

				            <button type="button" class="pum-close popmake-close" aria-label="Close">
			X            </button>
		
	</div>

</div>
<div id="pum-135330" class="pum pum-overlay pum-theme-97827 pum-theme-default-theme popmake-overlay pum-click-to-close click_open" data-popmake="{&quot;id&quot;:135330,&quot;slug&quot;:&quot;free-courses-dynamic-popup&quot;,&quot;theme_id&quot;:97827,&quot;cookies&quot;:[],&quot;triggers&quot;:[{&quot;type&quot;:&quot;click_open&quot;,&quot;settings&quot;:{&quot;cookie_name&quot;:&quot;&quot;,&quot;extra_selectors&quot;:&quot;a[href=\&quot;#watch-free-1\&quot;]&quot;}}],&quot;mobile_disabled&quot;:null,&quot;tablet_disabled&quot;:null,&quot;meta&quot;:{&quot;display&quot;:{&quot;stackable&quot;:false,&quot;overlay_disabled&quot;:false,&quot;scrollable_content&quot;:false,&quot;disable_reposition&quot;:false,&quot;size&quot;:&quot;small&quot;,&quot;responsive_min_width&quot;:&quot;0%&quot;,&quot;responsive_min_width_unit&quot;:false,&quot;responsive_max_width&quot;:&quot;100%&quot;,&quot;responsive_max_width_unit&quot;:false,&quot;custom_width&quot;:&quot;640px&quot;,&quot;custom_width_unit&quot;:false,&quot;custom_height&quot;:&quot;380px&quot;,&quot;custom_height_unit&quot;:false,&quot;custom_height_auto&quot;:false,&quot;location&quot;:&quot;center top&quot;,&quot;position_from_trigger&quot;:false,&quot;position_top&quot;:&quot;100&quot;,&quot;position_left&quot;:&quot;0&quot;,&quot;position_bottom&quot;:&quot;0&quot;,&quot;position_right&quot;:&quot;0&quot;,&quot;position_fixed&quot;:&quot;1&quot;,&quot;animation_type&quot;:&quot;fade&quot;,&quot;animation_speed&quot;:&quot;350&quot;,&quot;animation_origin&quot;:&quot;center top&quot;,&quot;overlay_zindex&quot;:false,&quot;zindex&quot;:&quot;1999999999&quot;},&quot;close&quot;:{&quot;text&quot;:&quot;&quot;,&quot;button_delay&quot;:&quot;0&quot;,&quot;overlay_click&quot;:&quot;1&quot;,&quot;esc_press&quot;:&quot;1&quot;,&quot;f4_press&quot;:false},&quot;click_open&quot;:[]}}" role="dialog" aria-hidden="true">

	<div id="popmake-135330" class="pum-container popmake theme-97827 pum-responsive pum-responsive-small responsive size-small pum-position-fixed">

				

				

		

				<div class="pum-content popmake-content">
			<!-- tzxid NA#### software_development@@@@@ Web development, programming languages, Software testing & others  --><!-- modal popup -->

<style type="text/css">.khal1{display:none;}#pum-97847{background: #fff;}#popmake-97847{display: -webkit-inline-box;}#free-crs {
	text-align: -webkit-center;}#nw-email-free-crs {margin-bottom: 10px;width: 100%;} #main_content{color: #000; font-size: 26px;margin-top: 10px; font-family: 'Montserrat', Helvetica, Arial, sans-serif; font-weight: 500;} #dis_content {color: #3c3c3c; font-size: 14px;font-family: 'Montserrat', Helvetica, Arial, sans-serif;margin-top: 8px;line-height: 22px;} #email-form-free-crs{ padding: 10px;} .line5{color: red; font-size: 14px;line-height: 20px; margin-top: 8px;} #submit-free-crs{width:100%;background-image: linear-gradient(to top,#e93f33,#ea4b32,#eb5632,#ec6032,#ec6a33)!important;} .pum-content{padding: 0;} .line4{font-size: 13px; margin-top: 2px;}.alert-style5 .alert { background-color: transparent; border-bottom-width: 3px; } .fade.in { opacity: 1; } .alert-danger { color: #a94442; background-color: #f2dede; border-color: #ebccd1!important; } .alert { padding: 15px; margin-bottom: 20px; border: 1px solid transparent; border-radius: 5px; } .fade { opacity: 0; -webkit-transition: opacity .15s linear; -o-transition: opacity .15s linear; transition: opacity .15s linear; } .alert-style5 .alert i { background-color: transparent; } .alert-style5 .alert-danger:hover { background-color: #f2dede; } .alert-style5 .alert:hover { border-color: rgba(0,0,0,.1); } .alert-style5 .alert { background-color: transparent; border-bottom-width: 3px; }.policy{text-align: center;
    margin: 0 auto;} .policy p{display: inline-block;
    text-align: center;
    margin: 0 auto;
    font-size: 0.85em;
		padding-top:1em;}
</style>
<div id="free-crs" data-id="" class="white-popup-block center-col bg-white text-center modal-popup-main">
<div id="loader-free-crs" class="loading" style="display:none;"></div>
<div class="center-col">

<div id="email-form-free-crs">
<!-- error message div starts here -->
<div id="error-free-crs" class="col-md-12 col-sm-12 col-xs-12 center-col text-center alert-style5" style="display: none"><div class="alert alert-danger fade in" role="alert"><i class="fa fa-warning alert-danger"></i><span id="err-free-crs"></span></div></div>
<!-- error message div ends here -->
<img src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/website_logo_transparent_background.png" width="155" class="EDUCBA" alt="EDUCBA">
<div id="main_content"><span class="slider-subtitle5 black-text text-center title-large margin-four text-transform-none letter-spacing-1 no-margin-bottom">Free Software Development Course</span></div>
<p id="dis_content">Web development, programming languages, Software testing &amp; others</p>
<form name="form-free-crs" id="form-free-crs" autocomplete="off">
<div class="form-group no-margin-bottom">
<input type="text" name="user-phone-free-crs" id="user-phone-free-crs" placeholder="Enter your phone no" class="khal1" autocomplete="off">
<input type="text" placeholder="Enter Email Address" name="nw-email-free-crs" id="nw-email-free-crs" value="">
		
<input type="hidden" name="suid-free-crs" id="suid-free-crs" value="1878">
<input type="hidden" name="url-free-crs" id="url-free-crs" value="https://www.educba.com/function-pointer-in-c/?source=leftnav">
<input type="hidden" name="fcdp-trs" id="fcdp-trs" value="">
<input type="hidden" name="mn-trm-tx-id" id="mn-trm-tx-id" value="NA">
<input name="submit-free-crs" id="submit-free-crs" type="submit" value="Yes, Gimme FREE Access" class="title-small landing-subscribe-button xs-width-100 width-100 no-margin-bottom">
<div class="line5"><i>*Please provide your correct email id. Login details for this Free course will be emailed to you</i></div><div class="policy"><p>By signing up, you agree to our <a href="https://www.educba.com/terms-and-conditions/">Terms of Use</a> and <a href="https://www.educba.com/privacy-policy/">Privacy Policy</a>.</p></div>
</div>
<input type="hidden" name="pum_form_popup_id" value="135330"></form>
</div>
<!-- end FORM 3 -->
</div>

</div>
<!-- end modal popup -->


<script type="text/javascript">
plt = '';
user_envir = '';
jQuery(document).ready(function(){

if( /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent) ) {
	plt = "mobile";
	user_envir = encodeURIComponent(navigator.userAgent);
} else {
	plt = "desktop";
	user_envir = encodeURIComponent(navigator.userAgent);
}

jQuery('#form-free-crs').on('submit', function (e) {
jQuery('input[type="submit"]').attr('disabled', true);
jQuery("#loader-free-crs").css("display","block");

uem = encodeURIComponent(jQuery("#nw-email-free-crs").val());
sg = jQuery("#suid-free-crs").val();
var urlx = jQuery("#url-free-crs").val();
zipcode = jQuery("#user-phone-free-crs").val();
mntrm = jQuery("#mn-trm-tx-id").val();
if(jQuery('#nw-mob-free-crs').length){
var mbn = jQuery("#nw-mob-free-crs").val();
}
if(uem == '') {
jQuery("#loader-free-crs").css("display","none");
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs").css("display","block");
jQuery('#error-free-crs').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Please enter your email..</span></div>");
} else {
	
var fregt = jQuery("#fcdp-trs").val();
jQuery.ajax({
type : "POST",
dataType: "json",
cache: false,
url  : 'https://www.educba.com/edb_jx/gtk_fregtk.php',
data: 't=' + fregt,
async: true,
success : function(response){
	jQuery("#fcdp-trs").attr("value",response.tk);
	fregt = jQuery("#fcdp-trs").val();
	
jQuery.ajax({
method : "POST",
dataType: "json",
cache: false,
url  : 'https://www.educba.com/ajax/nwz-frz-rgsz.php',
data : 'em=' + uem + '&sgs=' + sg + '&envir=' + plt + '&upf=' + user_envir+'&urlx=' +urlx+'&zipcode='+zipcode+'&mntrm='+mntrm + '&t=' + fregt + '&mb=' + mbn,
async: true,
success : function(resp){
jQuery("#loader-free-crs").css("display","none");
if(resp.access == "no") {
if(resp.eml_error == "yes") {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs").css("display","block");
jQuery('#error-free-crs').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Please enter your valid email (Check your email for spelling mistakes).</span></div>");
}else if(resp.usr_exists == "yes") {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs").css("display","block");
jQuery('#error-free-crs').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Specified email is already registered. Please provide another email.</span></div>");
}else if(resp.tk_valid == "no") {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs").css("display","block");
jQuery('#error-free-crs').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Error Occurred. Please refresh the page and try again.</span></div>");
}
} else {
if(resp.tk_valid == "yes") {
jQuery('#email-form-free-crs').css("display","none");
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs").css("display","block");
jQuery('#error-free-crs').html("<div class='alert alert-success fade in' role='alert'><i class='fa fa-check-circle alert-success'></i><span id='err-free-crs'>Registration for Free Trial successful. Please check your email for login details.</span></div>");
window.location.href = "https://www.educba.com/my-courses/index.php";
} else {
jQuery('input[type="submit"]').attr('disabled', false);
jQuery("#error-free-crs").css("display","block");
jQuery('#error-free-crs').html("<div class='alert alert-danger fade in' role='alert'><i class='fa fa-warning alert-danger'></i><span id='err-free-crs'>Error Occurred. Please refresh teh page and try again..</span></div>");
}
}
}
});
}
});
}
return false;
e.preventDefault();
});	
});
</script>


		</div>


				

				            <button type="button" class="pum-close popmake-close" aria-label="Close">
			X            </button>
		
	</div>

</div>
<style>
@media (max-device-width: 768px) and (min-device-width: 320px)
{.site-footer .back-to-top{display:none; position: fixed !important; background-color: rgba(38, 43, 58, 0.77) !important;border: thin solid #ffffff36;bottom: 5.5rem !important;}.site-footer .back-to-top:before, .site-footer .back-to-top:after{background-color: #fff;}}input#nw-mob-free-crs{margin-bottom:20px;}
</style>
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery(window).scroll(function() {
var header = jQuery('.site-header').outerHeight();
var scroll = jQuery( window ).scrollTop();

	
if ( scroll >= header ) {
jQuery( '.custom-logo' ).attr("srcset","https://cdn.educba.com/images/website_logo_transparent_background.png");
} else {
jQuery( '.custom-logo' ).attr("srcset","https://cdn.educba.com/images/website_logo_transparent_background_white.png");
}	

	if (window.matchMedia('(max-width: 768px)').matches) {
		
    if (jQuery(window).scrollTop() > 100) {
        jQuery(".site-footer .back-to-top").fadeIn('slow');
    }
    else {        
		jQuery(".site-footer .back-to-top").fadeOut('slow');
    }
}
});

//jQuery(".custom-logo").attr("data-no-lazy","1");
jQuery(".custom-logo-link").prop("href","https://www.educba.com/software-development/");

jQuery.ajax({
type : "POST", 
url  : 'https://www.educba.com/ajax/chk_cnt.php', 
dataType: "json", 
cache: false, 
async: true, 
success : function(r) { console.log("cnt - " + r.stat);
	if(r.stat == "yes") {
		jQuery("#nw-email-free-crs-ext").after("<input type='text' placeholder='Enter your mobile number (optional)' name='nw-mob-free-crs-ext' id='nw-mob-free-crs-ext' value=''>");
		jQuery("#nw-email-free-crs-ext-m").after("<input type='text' placeholder='Enter your mobile number (optional)' name='nw-mob-free-crs-ext-m' id='nw-mob-free-crs-ext-m' value=''>");
		jQuery("#nw-email-free-crs").after("<input type='text' placeholder='Enter your mobile number (optional)' name='nw-mob-free-crs' id='nw-mob-free-crs' value=''>");
		jQuery("#nww-email-free-crs").after("<input type='text' placeholder='Enter your mobile number (optional)' name='nww-mob-free-crs' id='nww-mob-free-crs' value=''>");
	}
}
});

var lglink = jQuery(".custom-logo-link").attr('href');
jQuery.ajax({
type : "POST", 
url  : 'https://www.educba.com/ajax/get_aio_price.php',
data : 'link=' + lglink,
dataType: "json", 
cache: false, 
async: true, 
success : function(msg) { console.log("pr - " + msg.aio_price);
	jQuery('a[data-id="topbr_link"]').attr('href', msg.alink);
	jQuery("#tp-bar-dyn-prc").html("@ " + msg.aio_price);
	jQuery("#tp-bn-crs-nm").html(" " +  msg.atext);
}
});
});
jQuery(document).ready(function () {
	if(jQuery("#breadcrumbs span:eq(3)").length) {
		var ct_nm = jQuery("#breadcrumbs span:eq(3) a:eq(0)").text();
	} else {
		var ct_nm = "https://www.educba.com/function-pointer-in-c/?source=leftnav";
		ct_nm = encodeURIComponent(ct_nm);
	}
	 jQuery.ajax({
			type : "POST",
			url  : "https://www.educba.com/ajax/sv_cat.php",
			data: 'ct=Blog - ' + ct_nm,
			async: true,
			success : function(response){ }
	   });		
});
</script>
  
<script>function hide(target) {
document.getElementById(target).style.display = 'none';
}
</script>
<link href="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/jquery.countdown2.css" rel="stylesheet">
<script src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/jquery.countdown2n.js"></script>
<script type="text/javascript">
ts = (new Date()).getTime() + 75089000;
var time_rem;
	jQuery.ajax({
	method: "GET",
	url: "https://www.educba.com/wmj_jx/customised-timer.php",
	dataType: "json",
	success: function (result) {
	if(result.status == 'Yes'){
		time_rem = (result.remaining_time * 1000);

ts = (new Date()).getTime() + time_rem;
//OFFERBAR TIMER
newYear = false;
jQuery('#countjop1').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});
		
// header yellow bar timer
		
jQuery('#top_bar_timer').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});
		
tmpts = ts;
jQuery('#countjop2').countdown({
timestamp	: tmpts,
callback	: function(days, hours, minutes, seconds){
}
});

jQuery('#countdown1za').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});

jQuery('#countdown2').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});

jQuery('#countjop_aio2').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});

jQuery('#top-bar-lmt-off').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});
	}else{
			
//OFFERBAR TIMER
newYear = false;
jQuery('#countjop1').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});

jQuery('#countjop2').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});

jQuery('#countdown1za').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});

jQuery('#countjop_aio2').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});

jQuery('#countdown2').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});

jQuery('#top-bar-lmt-off').countdown({
timestamp	: ts,
callback	: function(days, hours, minutes, seconds){
}
});
	}
	}					   
	});


</script>



<style>@media only screen and (max-width:768px){.topbar{display:none!important}}.topbar p{5px 0 0 !important}.topbar{/*background: linear-gradient(to right, rgb(255, 226, 89), rgb(255, 167, 81)) !important;*/background: #ffff00;}
	 @media only screen and (min-width: 768px) {/*body:before{content:url(https://www.educba.com/academy/wp-content/uploads/2020/12/bell.png);position: absolute; width: 100px; transform: rotate(-45deg);left:-30px; z-index: 999;top: -10px;}
body:after{content:url(https://www.educba.com/academy/wp-content/uploads/2020/12/bell.png);position: absolute; width: 100px; transform: rotate(45deg);right: -20px; z-index: 9; top: -20px;}*/}
	#bfo{font-family: fantasy;
  color: #111111;
  -moz-animation: flicker 4s 0s infinite;
  -webkit-animation: flicker 4s 0s infinite;
  animation: flicker 4s 0s infinite;}
	/*#bfo:before {
    content: url(https://www.educba.com/academy/wp-content/uploads/2020/11/100xBig-Sale.png);	  
		content:url(https://www.educba.com/academy/wp-content/uploads/2020/11/sale1.png);
		content:url(https://cdn.educba.com/academy/wp-content/uploads/2020/11/Width45x-HeightAutoBlack.png);
		content:url(https://www.educba.com/academy/wp-content/uploads/2020/11/sale.png);
    position: relative;
    z-index: 100000;
    margin-top: 20px;position: absolute;
    z-index: 100000;
    margin-left: -90px;
    margin-top: -15px;animation: animated_div 5s infinite;
    -moz-animation: animated_div 5s infinite;
    -webkit-animation: animated_div 5s infinite;
}.promo-topbar p:after {
    content: url(https://cdn.educba.com/academy/wp-content/uploads/2020/11/sale.png);
    position: relative;
    z-index: 100000;
    margin-right: -220px;
    float: right;
    margin-top: -10px;
    animation: animated_div 5s infinite;
    -moz-animation: animated_div 5s infinite;
    -webkit-animation: animated_div 5s infinite;animation-direction: reverse;
}*/
/*body:before {
    content: url(https://www.educba.com/academy/wp-content/uploads/2020/12/Santa.png);
    position: absolute;
    z-index: 100000;
   
    margin-top: -5px;
    animation: animated_div 5s infinite;
    -moz-animation: animated_div 5s infinite;
    -webkit-animation: animated_div 10s infinite;
}*/


	@keyframes animated_div{	
0% {
    transform: rotate(0deg);
    right: 0px;
}

25% {
    transform: rotate(10deg);
    right: 0px;
}
50% {
    transform: rotate(0deg);
    right: 85%;
}
55% {
    transform: rotate(0deg);
    right: 85%;
}
70% {
    transform: rotate(0deg);
    right: 85%;
}
100% {
    right: 100%;
}
} @-moz-keyframes flicker {
  0%,
	6%,
	12% {
    text-shadow: none;
    color: #111111;
  }
  3%,
	9% {
    text-shadow: 0 0 8px rgba(250, 103, 1, 0.6);
    color: red;
  }
  60% {
    text-shadow: 0 0 8px rgba(250, 103, 1, 0.6), 0 0 16px rgba(250, 103, 1, 0.4), 0 0 20px rgba(255, 0, 84, 0.2), 0 0 22px rgba(255, 0, 84, 0.1);
    color: red;
  }
  100% {
    text-shadow: 0 0 8px rgba(250, 103, 1, 0.6), 0 0 16px rgba(250, 103, 1, 0.4), 0 0 20px rgba(255, 0, 84, 0.2), 0 0 22px rgba(255, 0, 84, 0.1);
    color: red;
  }
}
@-webkit-keyframes flicker {
  0%,
	6%,
	12% {
    text-shadow: none;
    color: #111111;
  }
  3%,
	9% {
    text-shadow: 0 0 8px rgba(250, 103, 1, 0.6);
    color: red;
  }
  60% {
    text-shadow: 0 0 8px rgba(250, 103, 1, 0.6), 0 0 16px rgba(250, 103, 1, 0.4), 0 0 20px rgba(255, 0, 84, 0.2), 0 0 22px rgba(255, 0, 84, 0.1);
    color: red;
  }
  100% {
    text-shadow: 0 0 8px rgba(250, 103, 1, 0.6), 0 0 16px rgba(250, 103, 1, 0.4), 0 0 20px rgba(255, 0, 84, 0.2), 0 0 22px rgba(255, 0, 84, 0.1);
    color: red;
  }
}
@keyframes flicker {
  0%,
	6%,
	12% {
    text-shadow: none;
    color: #111111;
  }
  3%,
	9% {
    text-shadow: 0 0 8px rgba(250, 103, 1, 0.6);
    color: red;
  }
  60% {
    text-shadow: 0 0 8px rgba(250, 103, 1, 0.6), 0 0 16px rgba(250, 103, 1, 0.4), 0 0 20px rgba(255, 0, 84, 0.2), 0 0 22px rgba(255, 0, 84, 0.1);
    color: red;
  }
  100% {
    text-shadow: 0 0 8px rgba(250, 103, 1, 0.6), 0 0 16px rgba(250, 103, 1, 0.4), 0 0 20px rgba(255, 0, 84, 0.2), 0 0 22px rgba(255, 0, 84, 0.1);
    color: red;
  }
	}
span#top_bar_timer {
    margin-top: 0;
}	
</style>
<style type="text/css">
.bfo{ color: #000;font-size: 1.1em; letter-spacing: 1px;line-height: 20px;}
@media only screen and (max-width: 799px){
.topbar{
		height: 70px!important;
	}
.mobile_hidden{
	display:none;
	}	

}
@media (min-device-width : 320px) and (max-device-width : 480px) {
	.bar-close {right: 2px !important;}
	.promo-topbar .cnt_timer {
		display: none !important;
	}
}	
.bar-close {
    display: block;
    cursor: pointer;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}
.topbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 99;
    height: 45px;
    text-align: center;
    color: #fff;
    background: yellow;
	/*background-image: linear-gradient(315deg, #60b922 0%, #317600 74%);*/
    overflow: hidden;
    background-repeat: repeat;
    background-size: contain;
    background-position: top;
    width: 100%;
    -webkit-box-shadow: 0 1px 6px rgba(57,73,76,0.35);
    box-shadow: 0 1px 3px rgba(57,73,76,0.35);
}
.promo-topbar {
    margin: 0 auto;
    display: inline-block;
}
.topbar p {
    margin: 5px 0 0;
    display: inline-block;
    float: left;
    font-size: 16px;
    color: #000;
	font-weight: 600;
	letter-spacing: 0.2px;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif;
}
.topbar .wrap {
    padding-top: 5px;
    padding-bottom: 5px;
}
.bar-close i {
    font-size: 16px;
	color: #fff;
}
@media only screen and (min-width: 799px){
.promo-topbar .gradient {
    display: inline !important;
}
.promo-topbar .cnt_timer {
	display: contents;
}
.spcl-off{
	display:block !important;
}
}
.promo-topbar .gradient {
    display: none;
    line-height: 1;
    height: auto;
    color: #fff;
    padding: 5px 15px;
    margin: 0px 0.51em;
    border-radius: 5px;
    font-size: 0.9em;
    animation-duration: 4.5s;
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-name: placeHolderShimmer;
    animation-timing-function: ease-in-out;
    background: #f6f7f8;
    background-image: linear-gradient(to right, #e93f33 44%, #ba3546 48%,#e94233 51%);
    /* background-image: linear-gradient(to right, #03d486 44%, #d6fbca 48%,#03d486 51%); */
    background-size: 1000px 640px;
    position: relative;
    /*box-shadow: inset 2px 1px 5px 0px rgb(55, 131, 185);*/
}
@keyframes placeHolderShimmer{
    0%{
        background-position: -468px 0
    }
    100%{
        background-position: 468px 0
    }
}
.promo-topbar .countDays, .promo-topbar .countHours, .promo-topbar .countMinutes, .promo-topbar .countSeconds {
	background: #fff !important;
}
.promo-topbar .digit {font-size:14px;margin-top:-7px}
.promo-topbar .countMinutes + span:after {left:4px;}
.promo-topbar .digit,.promo-topbar .countDays + span:after,.promo-topbar .countHours + span:after, .promo-topbar .countMinutes + span:after, .promo-topbar .countSeconds:after {
	color: #000 !important;
}
.promo-topbar .countDays + span:after,.promo-topbar .countHours + span:after, .promo-topbar .countMinutes + span:after, .promo-topbar .countSeconds:after {
	color: #000 !important;
	font-size: 10px;
	margin-top: 0;
    left: 3px;
	text-align: end;
}
.promo-topbar .crossline{
	display:none;
}
#top-bar-lmt-off{ padding: 0 0.5em;}
.spcl-off{
	position: fixed;
	margin-left: -8em;
	top: 0;
	display:none;
}
</style>

<div class="topbar" id="topbar" style="display: none;">
<a style="text-decoration:none;border-bottom:none;" href="https://www.educba.com/software-development/courses/software-development-course/?btnz=limited-period-offer" data-id="topbr_link">
<div class="wrap">
<div class="promo-topbar">
	<p> <span class="bfo" id="bfo">Special Offer</span> - <span id="tp-bn-crs-nm"> All in One Software Development Bundle (600+ Courses, 50+ projects)</span> <span id="tp-bar-dyn-prc" style="background:#fff;color:#000;padding:7px;border-radius:15px;">@ USD119</span><span class="gradient">Learn More</span> <span id="top_bar_timer" class="countdownHolder" style="margin-left:5px;"><span class="countDays"><span class="crossline"></span>				<span class="position">					<span class="digit static" style="top: 0px; opacity: 1;">0</span>				</span>				<span class="crossline"></span>				<span class="position">					<span class="digit static" style="top: 0px; opacity: 1;">0</span>				</span></span><span class="countDiv countDiv0"> </span><span class="countHours"><span class="crossline"></span>				<span class="position">					<span class="digit static" style="top: 0px; opacity: 1;">0</span>				</span>				<span class="crossline"></span>				<span class="position">					<span class="digit static" style="top: 0px; opacity: 1;">8</span>				</span></span><span class="countDiv countDiv1"> </span><span class="countMinutes"><span class="crossline"></span>				<span class="position">					<span class="digit static" style="top: 0px; opacity: 1;">5</span>				</span>				<span class="crossline"></span>				<span class="position">					<span class="digit static" style="top: 0px; opacity: 1;">0</span>				</span></span><span class="countDiv countDiv2"> </span><span class="countSeconds"><span class="crossline"></span>				<span class="position">					<span class="digit static" style="top: 0px; opacity: 1;">3</span>				</span>				<span class="crossline"></span>				<span class="position">					<span class="digit" style="top: 8.17469px; opacity: 0.836506;">2</span>				</span></span></span></p>
</div>
</div>
</a>
<span class="bar-close" id="bar-close" onclick="myOffer()">
<i class="fa fa-times" aria-hidden="true"></i>
</span>
</div><style>
.quiz-sticky {
  right: 20px;
 position: fixed;
width: 90px;
 top: 85%;
}
</style>
<a href="javascript:void(0);" class="quiz-btn pum-trigger" style="cursor: pointer;"><img class="quiz-sticky" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/quiz.png" alt="quiz"></a>
<script src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/ckk.js"></script>
<script type="text/javascript">
var ismobile=/iphone|ipad|ipod|android|blackberry|mini|windows\sce|palm/i.test(navigator.userAgent.toLowerCase()),cookieValue="";function myOffer(){document.getElementById("topbar").style.display="none",jQuery(".site-header").css("top","unset")}jQuery(document).ready(function(e){void 0===(cookieValue=Cookies.get("bannershown"))&&(ismobile||jQuery(".site-header").css("top","2.25em"),jQuery("#topbar").css("display","block")),jQuery(document).on("click","#bar-close",function(){jQuery("#topbar").css("display","none"),Cookies.set("bannershown","yes",{expires:1})}),e(window).scroll(function(){e(window).scrollTop()>=100?(e("#topbar").css("display","none"),e("header.site-header.fixed.shrink").css("top","unset")):void 0===(cookieValue=Cookies.get("bannershown"))&&(e("#topbar").css("display","block"),ismobile||e(".site-header").css("top","2.25em"))})});
</script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/uri.js"></script>
<script type="text/javascript">
	jQuery(window).load(function() {
    url = URI(window.location.href).removeSearch("_ga");
    history.replaceState("state", "", url);
    });
</script>	<script type="text/javascript">
/* <![CDATA[ */
var socialWarfare = {"addons":[],"post_id":"328817","variables":{"emphasizeIcons":false,"powered_by_toggle":false,"affiliate_link":"https:\/\/warfareplugins.com"},"floatBeforeContent":""};
/* ]]> */
</script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/script.min.js"></script>
<script type="text/javascript">
"use strict";var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1,descriptor.configurable=!0,"value"in descriptor&&(descriptor.writable=!0),Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){return protoProps&&defineProperties(Constructor.prototype,protoProps),staticProps&&defineProperties(Constructor,staticProps),Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}var RocketBrowserCompatibilityChecker=function(){function RocketBrowserCompatibilityChecker(options){_classCallCheck(this,RocketBrowserCompatibilityChecker),this.passiveSupported=!1,this._checkPassiveOption(this),this.options=!!this.passiveSupported&&options}return _createClass(RocketBrowserCompatibilityChecker,[{key:"_checkPassiveOption",value:function(self){try{var options={get passive(){return!(self.passiveSupported=!0)}};window.addEventListener("test",null,options),window.removeEventListener("test",null,options)}catch(err){self.passiveSupported=!1}}},{key:"initRequestIdleCallback",value:function(){!1 in window&&(window.requestIdleCallback=function(cb){var start=Date.now();return setTimeout(function(){cb({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-start))}})},1)}),!1 in window&&(window.cancelIdleCallback=function(id){return clearTimeout(id)})}},{key:"isDataSaverModeOn",value:function(){return"connection"in navigator&&!0===navigator.connection.saveData}},{key:"supportsLinkPrefetch",value:function(){var elem=document.createElement("link");return elem.relList&&elem.relList.supports&&elem.relList.supports("prefetch")&&window.IntersectionObserver&&"isIntersecting"in IntersectionObserverEntry.prototype}},{key:"isSlowConnection",value:function(){return"connection"in navigator&&"effectiveType"in navigator.connection&&("2g"===navigator.connection.effectiveType||"slow-2g"===navigator.connection.effectiveType)}}]),RocketBrowserCompatibilityChecker}();
</script>
<script type="text/javascript">
/* <![CDATA[ */
var RocketPreloadLinksConfig = {"excludeUris":"\/sitemap_index.xml|\/post-sitemap.xml|\/page-sitemap.xml|\/signup|\/software-development\/courses\/free-sql-course\/|\/software-development\/courses\/free-javascript-course\/|\/design\/courses\/free-graphic-design-online-course\/|\/design\/courses\/free-online-photoshop-course\/|\/software-development\/courses\/free-python-course\/|\/excel\/courses\/free-vba-course\/|\/finance\/courses\/online-free-accounting-course\/|\/finance\/courses\/free-finance-online-course\/|\/software-development\/courses\/free-programming-course\/|\/software-development\/courses\/free-android-app-development-course\/|\/marketing\/courses\/free-digital-marketing-course\/|\/marketing\/courses\/free-online-seo-course\/|\/finance\/courses\/free-quickbooks-tutorials\/|\/software-development\/courses\/free-java-online-course\/|\/data-science\/courses\/free-online-statistics-course\/|\/software-development\/courses\/free-web-design-course\/|\/software-development\/courses\/free-html-course\/|\/data-science\/courses\/free-machine-learning-course\/|\/excel\/courses\/free-online-excel-course\/|\/data-science\/courses\/free-data-science-course\/|\/data-science\/courses\/free-online-data-analytics-course\/|\/(.+\/)?feed\/?.+\/?|\/(?:.+\/)?embed\/|\/(index\\.php\/)?wp\\-json(\/.*|$)|\/ebduxbebfvez\/|\/wp-admin\/|\/logout\/|https:\/\/www.educba.com\/ebduxbebfvez\/","usesTrailingSlash":"1","imageExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif","fileExt":"jpg|jpeg|gif|png|tiff|bmp|webp|avif|php|pdf|html|htm","siteUrl":"https:\/\/www.educba.com","onHoverDelay":"100","rateThrottle":"3"};
/* ]]> */
</script>
<script type="text/javascript">
(function() {
"use strict";var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e=function(){function i(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),e}}();function i(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var t=function(){function n(e,t){i(this,n),this.browser=e,this.config=t,this.options=this.browser.options,this.prefetched=new Set,this.eventTime=null,this.threshold=1111,this.numOnHover=0}return e(n,[{key:"init",value:function(){!this.browser.supportsLinkPrefetch()||this.browser.isDataSaverModeOn()||this.browser.isSlowConnection()||(this.regex={excludeUris:RegExp(this.config.excludeUris,"i"),images:RegExp(".("+this.config.imageExt+")$","i"),fileExt:RegExp(".("+this.config.fileExt+")$","i")},this._initListeners(this))}},{key:"_initListeners",value:function(e){-1<this.config.onHoverDelay&&document.addEventListener("mouseover",e.listener.bind(e),e.listenerOptions),document.addEventListener("mousedown",e.listener.bind(e),e.listenerOptions),document.addEventListener("touchstart",e.listener.bind(e),e.listenerOptions)}},{key:"listener",value:function(e){var t=e.target.closest("a"),n=this._prepareUrl(t);if(null!==n)switch(e.type){case"mousedown":case"touchstart":this._addPrefetchLink(n);break;case"mouseover":this._earlyPrefetch(t,n,"mouseout")}}},{key:"_earlyPrefetch",value:function(t,e,n){var i=this,r=setTimeout(function(){if(r=null,0===i.numOnHover)setTimeout(function(){return i.numOnHover=0},1e3);else if(i.numOnHover>i.config.rateThrottle)return;i.numOnHover++,i._addPrefetchLink(e)},this.config.onHoverDelay);t.addEventListener(n,function e(){t.removeEventListener(n,e,{passive:!0}),null!==r&&(clearTimeout(r),r=null)},{passive:!0})}},{key:"_addPrefetchLink",value:function(i){return this.prefetched.add(i.href),new Promise(function(e,t){var n=document.createElement("link");n.rel="prefetch",n.href=i.href,n.onload=e,n.onerror=t,document.head.appendChild(n)}).catch(function(){})}},{key:"_prepareUrl",value:function(e){if(null===e||"object"!==(void 0===e?"undefined":r(e))||!1 in e||-1===["http:","https:"].indexOf(e.protocol))return null;var t=e.href.substring(0,this.config.siteUrl.length),n=this._getPathname(e.href,t),i={original:e.href,protocol:e.protocol,origin:t,pathname:n,href:t+n};return this._isLinkOk(i)?i:null}},{key:"_getPathname",value:function(e,t){var n=t?e.substring(this.config.siteUrl.length):e;return n.startsWith("/")||(n="/"+n),this._shouldAddTrailingSlash(n)?n+"/":n}},{key:"_shouldAddTrailingSlash",value:function(e){return this.config.usesTrailingSlash&&!e.endsWith("/")&&!this.regex.fileExt.test(e)}},{key:"_isLinkOk",value:function(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(!this.prefetched.has(e.href)&&e.origin===this.config.siteUrl&&-1===e.href.indexOf("?")&&-1===e.href.indexOf("#")&&!this.regex.excludeUris.test(e.href)&&!this.regex.images.test(e.href))}}],[{key:"run",value:function(){"undefined"!=typeof RocketPreloadLinksConfig&&new n(new RocketBrowserCompatibilityChecker({capture:!0,passive:!0}),RocketPreloadLinksConfig).init()}}]),n}();t.run();
}());
</script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/hoverIntent.min.js"></script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/superfish.min.js"></script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/superfish.args.min.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
var q2w3_sidebar_options = [{"sidebar":"ca-sidebar-38884","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-388"]},{"sidebar":"ca-sidebar-23342","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-69"]},{"sidebar":"ca-sidebar-37870","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-429"]},{"sidebar":"ca-sidebar-37904","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-428"]},{"sidebar":"ca-sidebar-37908","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-427"]},{"sidebar":"ca-sidebar-37913","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-426"]},{"sidebar":"ca-sidebar-37952","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-425"]},{"sidebar":"ca-sidebar-37974","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-432"]},{"sidebar":"ca-sidebar-160833","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-492"]},{"sidebar":"ca-sidebar-162073","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-493"]},{"sidebar":"ca-sidebar-191636","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-494"]},{"sidebar":"ca-sidebar-78184","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-382"]},{"sidebar":"ca-sidebar-37980","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-423"]},{"sidebar":"ca-sidebar-37976","margin_top":10,"margin_bottom":0,"stop_id":"","screen_max_width":0,"screen_max_height":0,"width_inherit":false,"refresh_interval":1500,"window_load_hook":false,"disable_mo_api":false,"widgets":["text-424"]}];
/* ]]> */
</script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/q2w3-fixed-widget.min.js"></script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/core.min.js"></script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/position.min.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
var pum_vars = {"version":"1.11.0","pm_dir_url":"https:\/\/www.educba.com\/academy\/wp-content\/plugins\/popup-maker\/","ajaxurl":"https:\/\/www.educba.com\/academy\/wp-admin\/admin-ajax.php","restapi":"https:\/\/www.educba.com\/wp-json\/pum\/v1","rest_nonce":null,"default_theme":"97827","debug_mode":"","disable_tracking":"","home_url":"\/","message_position":"top","core_sub_forms_enabled":"1","popups":[],"page":"328817"};
var ajaxurl = "https:\/\/www.educba.com\/academy\/wp-admin\/admin-ajax.php";
var pum_sub_vars = {"ajaxurl":"https:\/\/www.educba.com\/academy\/wp-admin\/admin-ajax.php","message_position":"top"};
var pum_popups = {"pum-476363":{"disable_on_mobile":false,"disable_on_tablet":false,"custom_height_auto":false,"scrollable_content":false,"position_from_trigger":false,"position_fixed":false,"overlay_disabled":false,"stackable":false,"disable_reposition":false,"close_on_form_submission":false,"close_on_overlay_click":false,"close_on_esc_press":false,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"triggers":[{"type":"click_open","settings":{"cookie_name":"","extra_selectors":".quiz-btn"}}],"theme_id":"97827","size":"medium","responsive_min_width":"0%","responsive_max_width":"100%","custom_width":"640px","custom_height":"380px","animation_type":"fade","animation_speed":"350","animation_origin":"center top","open_sound":"none","custom_sound":"","location":"center top","position_top":"100","position_bottom":"0","position_left":"0","position_right":"0","zindex":"1999999999","close_button_delay":"0","close_on_form_submission_delay":"0","cookies":[],"theme_slug":"default-theme","id":476363,"slug":"temp-popup-for-testing"},"pum-97847":{"disable_on_mobile":true,"disable_on_tablet":true,"custom_height_auto":false,"scrollable_content":false,"position_from_trigger":false,"position_fixed":true,"overlay_disabled":false,"stackable":false,"disable_reposition":false,"close_on_form_submission":false,"close_on_overlay_click":true,"close_on_esc_press":true,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"triggers":[{"type":"exit_intent","settings":{"cookie_name":["pum-97847"],"top_sensitivity":"10","delay_sensitivity":"350"}}],"cookies":[{"event":"on_popup_close","settings":{"name":"pum-97847","key":"","session":false,"time":"12 hours","path":true}}],"theme_id":"106959","size":"small","responsive_min_width":"0%","responsive_max_width":"100%","custom_width":"640px","custom_height":"380px","animation_type":"fade","animation_speed":"350","animation_origin":"center top","open_sound":"none","custom_sound":"","location":"center top","position_top":"100","position_bottom":"0","position_left":"0","position_right":"0","zindex":"1999999999","close_button_delay":"0","close_on_form_submission_delay":"0","theme_slug":"full-screen-custom","id":97847,"slug":"exit-intent-auto-popup-desktop"},"pum-138145":{"disable_on_mobile":false,"disable_on_tablet":false,"custom_height_auto":false,"scrollable_content":false,"position_from_trigger":false,"position_fixed":true,"overlay_disabled":false,"stackable":false,"disable_reposition":false,"close_on_form_submission":false,"close_on_overlay_click":true,"close_on_esc_press":true,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"theme_id":"97827","size":"small","responsive_min_width":"0%","responsive_max_width":"100%","custom_width":"640px","custom_height":"380px","animation_type":"fade","animation_speed":"350","animation_origin":"center top","open_sound":"none","custom_sound":"","location":"center top","position_top":"100","position_bottom":"0","position_left":"0","position_right":"0","zindex":"1999999999","close_button_delay":"0","close_on_form_submission_delay":"0","triggers":[],"cookies":[],"theme_slug":"default-theme","id":138145,"slug":"login-popup"},"pum-422031":{"disable_on_mobile":false,"disable_on_tablet":false,"custom_height_auto":false,"scrollable_content":false,"position_from_trigger":false,"position_fixed":false,"overlay_disabled":false,"stackable":false,"disable_reposition":false,"close_on_form_submission":false,"close_on_overlay_click":false,"close_on_esc_press":false,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"theme_id":"97827","size":"small","responsive_min_width":"0%","responsive_max_width":"100%","custom_width":"640px","custom_height":"380px","animation_type":"fade","animation_speed":"350","animation_origin":"center top","open_sound":"none","custom_sound":"","location":"center top","position_top":"100","position_bottom":"0","position_left":"0","position_right":"0","zindex":"1999999999","close_button_delay":"0","close_on_form_submission_delay":"0","triggers":[],"cookies":[],"theme_slug":"default-theme","id":422031,"slug":"live-1-1-booking"},"pum-415387":{"disable_on_mobile":false,"disable_on_tablet":false,"custom_height_auto":false,"scrollable_content":false,"position_from_trigger":false,"position_fixed":false,"overlay_disabled":false,"stackable":false,"disable_reposition":false,"close_on_form_submission":false,"close_on_overlay_click":false,"close_on_esc_press":false,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"theme_id":"97827","size":"small","responsive_min_width":"0%","responsive_max_width":"100%","custom_width":"640px","custom_height":"380px","animation_type":"fade","animation_speed":"350","animation_origin":"center top","open_sound":"none","custom_sound":"","location":"center top","position_top":"100","position_bottom":"0","position_left":"0","position_right":"0","zindex":"1999999999","close_button_delay":"0","close_on_form_submission_delay":"0","triggers":[],"cookies":[],"theme_slug":"default-theme","id":415387,"slug":"download-curr-popup"},"pum-150987":{"disable_on_mobile":false,"disable_on_tablet":false,"custom_height_auto":false,"scrollable_content":false,"position_from_trigger":false,"position_fixed":true,"overlay_disabled":false,"stackable":false,"disable_reposition":false,"close_on_form_submission":false,"close_on_overlay_click":false,"close_on_esc_press":false,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"theme_id":"97827","size":"small","responsive_min_width":"0%","responsive_max_width":"100%","custom_width":"640px","custom_height":"380px","animation_type":"fade","animation_speed":"350","animation_origin":"center top","open_sound":"none","custom_sound":"","location":"center top","position_top":"100","position_bottom":"0","position_left":"0","position_right":"0","zindex":"1999999999","close_button_delay":"0","close_on_form_submission_delay":"0","triggers":[],"cookies":[],"theme_slug":"default-theme","id":150987,"slug":"shopping-cart-popup"},"pum-378149":{"disable_on_mobile":false,"disable_on_tablet":false,"custom_height_auto":false,"scrollable_content":false,"position_from_trigger":false,"position_fixed":true,"overlay_disabled":true,"stackable":true,"disable_reposition":false,"close_on_form_submission":false,"close_on_overlay_click":false,"close_on_esc_press":false,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"triggers":[{"type":"auto_open","settings":{"cookie_name":["pum-378149"],"delay":"500"}}],"cookies":[{"event":"on_popup_close","settings":{"name":"pum-378149","key":"","session":false,"time":"3 days","path":true}}],"theme_id":"97829","size":"tiny","responsive_min_width":"0%","responsive_max_width":"100%","custom_width":"640px","custom_height":"380px","animation_type":"fadeAndSlide","animation_speed":"350","animation_origin":"left bottom","open_sound":"none","custom_sound":"","location":"left bottom","position_top":"100","position_bottom":"10","position_left":"10","position_right":"0","zindex":"1999999999","close_button_delay":"0","close_on_form_submission_delay":"0","theme_slug":"enterprise-blue","id":378149,"slug":"cookie-consent"},"pum-167767":{"disable_on_mobile":false,"disable_on_tablet":false,"custom_height_auto":false,"scrollable_content":false,"position_from_trigger":false,"position_fixed":true,"overlay_disabled":false,"stackable":false,"disable_reposition":false,"close_on_form_submission":false,"close_on_overlay_click":false,"close_on_esc_press":false,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"triggers":[{"type":"click_open","settings":{"cookie_name":"","extra_selectors":"#pum-167767"}}],"theme_id":"97827","size":"small","responsive_min_width":"0%","responsive_max_width":"100%","custom_width":"640px","custom_height":"380px","animation_type":"fade","animation_speed":"350","animation_origin":"center top","open_sound":"none","custom_sound":"","location":"center top","position_top":"100","position_bottom":"0","position_left":"0","position_right":"0","zindex":"1999999999","close_button_delay":"0","close_on_form_submission_delay":"0","cookies":[],"theme_slug":"default-theme","id":167767,"slug":"free-template-download-form"},"pum-161564":{"disable_on_mobile":false,"disable_on_tablet":false,"custom_height_auto":false,"scrollable_content":false,"position_from_trigger":false,"position_fixed":true,"overlay_disabled":false,"stackable":false,"disable_reposition":false,"close_on_form_submission":false,"close_on_overlay_click":false,"close_on_esc_press":false,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"theme_id":"97827","size":"small","responsive_min_width":"0%","responsive_max_width":"100%","custom_width":"640px","custom_height":"380px","animation_type":"fade","animation_speed":"350","animation_origin":"center top","open_sound":"none","custom_sound":"","location":"center top","position_top":"100","position_bottom":"0","position_left":"0","position_right":"0","zindex":"1999999999","close_button_delay":"0","close_on_form_submission_delay":"0","triggers":[],"cookies":[],"theme_slug":"default-theme","id":161564,"slug":"new-free-course-popup"},"pum-135330":{"disable_on_mobile":false,"disable_on_tablet":false,"custom_height_auto":false,"scrollable_content":false,"position_from_trigger":false,"position_fixed":true,"overlay_disabled":false,"stackable":false,"disable_reposition":false,"close_on_form_submission":false,"close_on_overlay_click":true,"close_on_esc_press":true,"close_on_f4_press":false,"disable_form_reopen":false,"disable_accessibility":false,"triggers":[{"type":"click_open","settings":{"cookie_name":"","extra_selectors":"a[href=\"#watch-free-1\"]"}}],"theme_id":"97827","size":"small","responsive_min_width":"0%","responsive_max_width":"100%","custom_width":"640px","custom_height":"380px","animation_type":"fade","animation_speed":"350","animation_origin":"center top","open_sound":"none","custom_sound":"","location":"center top","position_top":"100","position_bottom":"0","position_left":"0","position_right":"0","zindex":"1999999999","close_button_delay":"0","close_on_form_submission_delay":"0","cookies":[],"theme_slug":"default-theme","id":135330,"slug":"free-courses-dynamic-popup"}};
/* ]]> */
</script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/pum-site-scripts.js"></script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/mobile-detect.min.js"></script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/business-pro.min.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
var genesis_responsive_menu = {"mainMenu":"Menu","subMenu":"Menu","menuIconClass":null,"subMenuIconClass":null,"menuClasses":{"combine":[".nav-primary"]}};
/* ]]> */
</script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/menus.min.js"></script>
<script type="text/javascript">
/* <![CDATA[ */
var megamenu = {"timeout":"300","interval":"100"};
/* ]]> */
</script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/maxmegamenu.js"></script>
<script type="text/javascript" src="./Function Pointer in C _ Working of Function Pointer in C with Examples_files/public.js"></script>
<script type="text/javascript"> var swp_nonce = "6cdbd7f19f";var swpFloatBeforeContent = false; var swp_ajax_url = "https://www.educba.com/academy/wp-admin/admin-ajax.php"; var swp_post_id = "328817";var swpClickTracking = false;</script>
</body><style id="stylus-1" type="text/css" class="stylus">body {
    font-family: 'pragmata pro mono regular';
}</style></html>